We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
1 parent 47f312e commit 852a20fCopy full SHA for 852a20f
.github/workflows/publish-to-test-pypi.yml
@@ -31,12 +31,13 @@ jobs:
31
- name: twine check
32
run: python -m twine check dist/*
33
- name: Publish distribution 📦 to Test PyPI
34
+ if: ${{ !startsWith(github.event.ref, 'refs/tags') }}
35
uses: pypa/gh-action-pypi-publish@master
36
with:
37
password: ${{ secrets.testpypi_password }}
38
repository_url: https://test.pypi.org/legacy/
39
- name: Publish distribution 📦 to PyPI
- if: startsWith(github.event.ref, 'refs/tags')
40
+ if: ${{ startsWith(github.event.ref, 'refs/tags') }}
41
42
43
password: ${{ secrets.pypi_password }}
0 commit comments