We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48af23a commit a07ecc4Copy full SHA for a07ecc4
.github/workflows/pypi.yml
@@ -28,12 +28,13 @@ jobs:
28
- run: python -m build --sdist --wheel --outdir dist/ .
29
30
- name: Upload to Test PyPI
31
- if: github.repository_owner == 'MHKiT-Software'
+ if: github.event_name != 'release' && github.repository_owner == 'MHKiT-Software'
32
uses: pypa/gh-action-pypi-publish@release/v1
33
with:
34
user: __token__
35
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
36
repository-url: https://test.pypi.org/legacy/
37
+ skip-existing: true
38
39
- name: Upload to PyPI (tagged release only)
40
if:
0 commit comments