Skip to content

Commit 32110be

Browse files
authored
Update python-publish.yml
1 parent 39c6f18 commit 32110be

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/python-publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jobs:
3030
- name: Build package
3131
run: python -m build
3232
- name: Publish package
33+
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
3334
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
3435
with:
3536
user: __token__

0 commit comments

Comments
 (0)