Skip to content

Commit 99c695e

Browse files
committed
cannot use matrix in if
1 parent 4faf503 commit 99c695e

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

.github/workflows/build_secondary_wheels.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,6 @@ jobs:
1414
name: >
1515
Build secondary wheels for py ${{ matrix.py }},
1616
os ${{ matrix.cbw_os }}, arch ${{ matrix.arch }}
17-
if: >
18-
${{
19-
(matrix.cbw_os == 'manylinux_' && matrix.arch != 'x86_64')
20-
&& (matrix.cbw_os == 'win_' && matrix.arch == 'arm64')
21-
&& (matrix.cbw_os == 'win32' && matrix.arch == '')
22-
}}
2317
runs-on: ${{ matrix.os }}
2418
strategy:
2519
matrix:
@@ -37,6 +31,13 @@ jobs:
3731
- os: macos-latest
3832
cbw_os: macosx_
3933
arch: [x86_64, arm64, universal2]
34+
exclude:
35+
- cbw_os: manylinux_
36+
arch: x86_64
37+
- cbw_os: win_
38+
arch: [amd64, ""]
39+
- cbw_os: win32
40+
arch: [amd64, arm64]
4041

4142
steps:
4243
- uses: actions/checkout@v3

0 commit comments

Comments
 (0)