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 445ae52 commit 0a6400bCopy full SHA for 0a6400b
.github/workflows/python-publish.yaml
@@ -30,14 +30,14 @@ jobs:
30
run: |
31
python setup.py sdist bdist_wheel
32
- name: Publish distribution to Test PyPI
33
- uses: pypa/gh-action-pypi-publish@master
+ uses: pypa/gh-action-pypi-publish@v1.6.4
34
with:
35
password: ${{ secrets.TEST_PYPI_PASSWORD }}
36
repository_url: https://test.pypi.org/legacy/
37
- name: Publish distribution to PyPI
38
# This condition prevents PRs from being published as part of
39
# the test job.
40
- if: startsWith(github.ref, 'refs/tags')
41
+ if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
42
43
password: ${{ secrets.PYPI_PASSWORD }}
0 commit comments