Skip to content

Commit e754444

Browse files
committed
* update
1 parent f51edee commit e754444

1 file changed

Lines changed: 16 additions & 6 deletions

File tree

.github/workflows/wheels.yml

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ name: Build Wheels
22

33
on:
44
push:
5-
branches: [ main, master ]
6-
tags: [ 'v*' ]
5+
branches: [main, master]
6+
tags: ['v*']
77
pull_request:
8-
branches: [ main, master ]
8+
branches: [main, master]
99
workflow_dispatch:
1010

1111
jobs:
@@ -15,7 +15,7 @@ jobs:
1515
strategy:
1616
fail-fast: false
1717
matrix:
18-
os: [ubuntu-latest, macos-14]
18+
os: [ubuntu-latest, macos-latest]
1919

2020
steps:
2121
- uses: actions/checkout@v4
@@ -30,11 +30,21 @@ jobs:
3030
restore-keys: |
3131
${{ runner.os }}-${{ runner.arch }}-extern-
3232
33+
- name: Cache cibuildwheel downloads
34+
uses: actions/cache@v4
35+
with:
36+
path: |
37+
~/.cache/cibuildwheel
38+
~/Library/Caches/cibuildwheel
39+
key: ${{ runner.os }}-${{ runner.arch }}-cibw-${{ hashFiles('.github/workflows/*.yml') }}
40+
restore-keys: |
41+
${{ runner.os }}-${{ runner.arch }}-cibw-
42+
3343
- name: Build wheels
3444
uses: pypa/cibuildwheel@v2.22
3545
env:
3646
CIBW_BUILD: cp38-* cp39-* cp310-* cp311-* cp312-*
37-
CIBW_SKIP: "*-musllinux_* *-win32 *-manylinux_i686 *-win_amd64"
47+
CIBW_SKIP: "*-musllinux_* *-win32 *-win_amd64 *-manylinux_i686"
3848
CIBW_ARCHS_LINUX: x86_64
3949
CIBW_ARCHS_MACOS: x86_64 arm64
4050
CIBW_BEFORE_BUILD: ./build.sh
@@ -75,4 +85,4 @@ jobs:
7585

7686
- uses: pypa/gh-action-pypi-publish@release/v1
7787
with:
78-
password: ${{ secrets.PYPI_API_TOKEN }}
88+
password: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)