Skip to content

Commit a33f903

Browse files
authored
Merge pull request #424 from akatsoulas/pypi-ga
Upload only on tagged commits.
2 parents 43e7875 + d7cb2a2 commit a33f903

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
run: tox
2222
- name: Publish a Python distribution to PyPI
2323
uses: pypa/gh-action-pypi-publish@release/v1.4.2
24+
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
2425
with:
2526
user: __token__
2627
password: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)