Skip to content

Commit 9c87959

Browse files
authored
restore release check for pypi upload
1 parent 10ec638 commit 9c87959

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/build_and_upload.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ jobs:
5151
upload_to_pypi:
5252
name: "Upload to PyPI"
5353
runs-on: ubuntu-latest
54+
if: github.event_name == 'release' && github.event.action == 'published'
5455
needs:
5556
- build_wheels
5657
- make_sdist

0 commit comments

Comments
 (0)