Skip to content

Commit 361b239

Browse files
committed
use win-specific env var instead
1 parent 0cf5b91 commit 361b239

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/wheels.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ jobs:
4545
run: python -m pip install cibuildwheel~=3.1.1
4646

4747
- name: Build wheels
48-
run: >-
49-
python -m cibuildwheel --output-dir wheelhouse
50-
${{ matrix.name == 'windows-x32' && '--archs=auto32' }}
48+
env:
49+
CIBW_ARCHS_WINDOWS: ${{ matrix.name == 'windows-x32' && 'auto32' || 'native' }}
50+
run: python -m cibuildwheel --output-dir wheelhouse
5151

5252
- uses: actions/upload-artifact@v4
5353
with:

0 commit comments

Comments
 (0)