Skip to content
This repository was archived by the owner on Dec 23, 2024. It is now read-only.

Commit cf3805f

Browse files
authored
Update wheels.yml
1 parent 7c7d865 commit cf3805f

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/wheels.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,26 @@ jobs:
88
runs-on: ${{ matrix.os }}
99
strategy:
1010
matrix:
11-
os: [ubuntu-latest, windows-latest, macos-latest]
11+
os: [ubuntu-latest, windows-latest, macos-13, macos-latest]
1212

1313
steps:
14-
- uses: actions/checkout@v3
14+
- uses: actions/checkout@v4
15+
16+
- uses: actions/setup-python@v5
17+
18+
- name: Install cibuildwheel
19+
run: python -m pip install cibuildwheel==2.21.3
1520

1621
- name: Build wheels
17-
uses: pypa/cibuildwheel@v2.11.2
22+
run: python -m cibuildwheel --output-dir wheelhouse
1823
env:
1924
CIBW_ARCHS_MACOS: "x86_64 universal2 arm64"
2025
CIBW_TEST_REQUIRES: tox
2126
CIBW_TEST_COMMAND: cd {project} && tox
2227
CIBW_TEST_SKIP: "*-win*"
2328
CIBW_BUILD_VERBOSITY: 1
2429

25-
- name: Store wheels
26-
uses: actions/upload-artifact@v2
30+
- uses: actions/upload-artifact@v4
2731
with:
32+
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
2833
path: ./wheelhouse/*.whl

0 commit comments

Comments
 (0)