Skip to content

Commit df148ee

Browse files
authored
Merge pull request matplotlib#27950 from QuLogic/fix-publish-condition
ci: Fix condition for publishing wheels
2 parents 0aff44a + 28fee01 commit df148ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/cibuildwheel.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ jobs:
194194
if-no-files-found: error
195195

196196
publish:
197-
if: github.event_name == 'release' && github.event.action == 'published'
197+
if: github.event_name == 'push' && github.ref_type == 'tag'
198198
name: Upload release to PyPI
199199
needs: [build_sdist, build_wheels]
200200
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)