Skip to content

Commit 828b19d

Browse files
committed
Switch action check
1 parent 9ad654f commit 828b19d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/cicd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,5 +74,5 @@ jobs:
7474
# If this commit is the result of a Git tag, push the wheel and tar packages
7575
# to the PyPi registry
7676
- name: Publish to PyPI
77-
if: github.event_name == 'release' && github.event.action == 'created'
77+
if: github.event_name == 'release' && github.event.action == 'published'
7878
run: twine upload --repository-url https://upload.pypi.org/legacy/ -u __token__ -p ${{ secrets.PYPI_API_TOKEN }} --skip-existing --verbose dist/*

0 commit comments

Comments
 (0)