Skip to content

Commit 3b26893

Browse files
authored
Update build_wheels.yml (#526)
Publish wheels when a release is created in Github
1 parent 8d0263a commit 3b26893

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/build_wheels.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ jobs:
4747
needs: [build_wheels, build_sdist]
4848
runs-on: ubuntu-latest
4949

50-
# upload to PyPI on every tag starting with "v"
51-
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v')
50+
# upload to PyPI on every release
51+
if: github.event_name == 'release' && github.event.action == 'created'
5252
steps:
5353
- uses: actions/download-artifact@v3
5454
with:

0 commit comments

Comments
 (0)