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 2c602e1

Browse filesBrowse files
committed
Really fix wheel building on CI
I had the wrong condition in #22375, so that they were still not triggered on push.
1 parent 7b6f325 commit 2c602e1
Copy full SHA for 2c602e1

File tree

1 file changed

+8
-6
lines changed
Filter options

1 file changed

+8
-6
lines changed

‎.github/workflows/cibuildwheel.yml

Copy file name to clipboardExpand all lines: .github/workflows/cibuildwheel.yml
+8-6Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,14 @@ on:
2020
jobs:
2121
build_wheels:
2222
if: |
23-
github.event.action == 'push' ||
24-
(
25-
github.event.action == 'labeled' &&
26-
github.event.label.name == 'Run cibuildwheel'
27-
) ||
28-
contains(github.event.pull_request.labels.*.name, 'Run cibuildwheel')
23+
github.event_name == 'push' ||
24+
github.event_name == 'pull_request' && (
25+
(
26+
github.event.action == 'labeled' &&
27+
github.event.label.name == 'Run cibuildwheel'
28+
) ||
29+
contains(github.event.pull_request.labels.*.name, 'Run cibuildwheel')
30+
)
2931
name: Build wheels on ${{ matrix.os }}
3032
runs-on: ${{ matrix.os }}
3133
env:

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.