Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 28fee01

Browse filesBrowse files
committed
ci: Fix condition for publishing wheels
The wheel workflow is only triggered on pushes and pull requests. So the condition to publish must be based on that, not on generating a GitHub release.
1 parent 9dd9cb4 commit 28fee01
Copy full SHA for 28fee01

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎.github/workflows/cibuildwheel.yml

Copy file name to clipboardExpand all lines: .github/workflows/cibuildwheel.yml
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.