Skip to content

Commit e1523e2

Browse files
committed
Fix publish to pypi action to actually run
Apparently the release created by the action doesn't recursively cause the action to run.
1 parent 84d8a8d commit e1523e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish-package.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ jobs:
106106
files: dist/*
107107

108108
- name: Publish distribution 📦 to PyPI
109-
if: github.event_name == 'release' && github.event.action == 'published'
109+
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
110110
uses: pypa/[email protected]
111111
with:
112112
print-hash: true

0 commit comments

Comments
 (0)