8000
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 c2ff859 commit db441bdCopy full SHA for db441bd
.github/workflows/publish-pypi.yml
@@ -34,7 +34,7 @@ jobs:
34
repository_url: https://test.pypi.org/legacy/
35
36
- name: Publish distribution 📦 to PyPI
37
- if: ${{ github.ref == 'refs/heads/master' }}
+ if: ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v') }}
38
uses: pypa/gh-action-pypi-publish@release/v1 # license BSD-2
39
with:
40
password: ${{ secrets.PYPI_API_TOKEN }}
0 commit comments