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 f440d2b

Browse filesBrowse files
authored
Merge pull request #22549 from QuLogic/fix-wheels
Really fix wheel building on CI
2 parents 06b0a6c + 2c602e1 commit f440d2b
Copy full SHA for f440d2b

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.