Skip to content

Commit 7029b2e

Browse files
authored
Revise GitHub Actions workflow for wheel builds
Updated the workflow to use newer OS versions and actions.
1 parent 5000a12 commit 7029b2e

1 file changed

Lines changed: 6 additions & 13 deletions

File tree

.github/workflows/wheels.yml

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,31 +6,24 @@ jobs:
66
build_wheels:
77
name: Build wheels on ${{ matrix.os }}
88
runs-on: ${{ matrix.os }}
9-
permissions:
10-
contents: read
119
strategy:
1210
matrix:
13-
os: [ubuntu-latest, macos-15-intel]
11+
os: [ubuntu-24.04, macos-26]
1412

1513
steps:
16-
- uses: actions/checkout@v5
14+
- uses: actions/checkout@v6
1715
with:
1816
submodules: true
17+
persist-credentials: false
1918

2019
# Used to host cibuildwheel
2120
- uses: actions/setup-python@v5
2221

23-
- name: Install cibuildwheel
24-
run: python -m pip install cibuildwheel==3.3.0
25-
2622
- name: Build wheels
27-
run: python -m cibuildwheel --output-dir wheelhouse
23+
uses: pypa/cibuildwheel@v3.4.0
2824
env:
29-
MACOSX_DEPLOYMENT_TARGET: "14.0"
30-
# to supply options, put them in 'env', like:
31-
# env:
32-
# CIBW_SOME_OPTION: value
33-
# ...
25+
CIBW_BUILD: "cp{311,312,313,314}-*"
26+
MACOSX_DEPLOYMENT_TARGET: "26.0"
3427

3528
- uses: actions/upload-artifact@v4
3629
with:

0 commit comments

Comments
 (0)