Skip to content

Commit f279f87

Browse files
committed
Fix GitHub workflow
1 parent 097352f commit f279f87

File tree

1 file changed

+29
-29
lines changed

1 file changed

+29
-29
lines changed

.github/workflows/release.yml

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -29,49 +29,49 @@ jobs:
2929
matrix:
3030
os: [ linux-intel, linux-arm, windows, macOS-intel, macOS-arm, iOS, pyodide ]
3131
include:
32-
- archs: auto
33-
platform: auto
34-
- os: linux-intel
35-
runs-on: ubuntu-latest
36-
- os: linux-arm
37-
runs-on: ubuntu-24.04-arm
38-
- os: windows
39-
runs-on: windows-latest
40-
- os: macos-intel
41-
# macos-13 was the last x86_64 runner
42-
runs-on: macos-13
43-
- os: macos-arm
44-
# macos-14+ (including latest) are ARM64 runners
45-
runs-on: macos-latest
46-
archs: auto,universal2
32+
- archs: auto
33+
platform: auto
34+
- os: linux-intel
35+
runs-on: ubuntu-latest
36+
- os: linux-arm
37+
runs-on: ubuntu-24.04-arm
38+
- os: windows
39+
runs-on: windows-latest
40+
- os: macos-intel
41+
# macos-13 was the last x86_64 runner
42+
runs-on: macos-13
43+
- os: macos-arm
44+
# macos-14+ (including latest) are ARM64 runners
45+
runs-on: macos-latest
46+
archs: auto,universal2
4747

4848
steps:
4949
- uses: actions/checkout@v4
5050

5151
- name: Build wheels
52-
uses: pypa/cibuildwheel@@v2.23.3
53-
env:
54-
CIBW_PLATFORM: ${{ matrix.platform }}
55-
CIBW_ARCHS: ${{ matrix.archs }}
52+
uses: pypa/cibuildwheel@@v2.23.3
53+
env:
54+
CIBW_PLATFORM: ${{ matrix.platform }}
55+
CIBW_ARCHS: ${{ matrix.archs }}
5656

5757
- uses: actions/upload-artifact@v4
58-
with:
59-
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
60-
path: ./wheelhouse/*.whl
58+
with:
59+
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }}
60+
path: ./wheelhouse/*.whl
6161

6262
build_sdist:
6363
name: Build source distribution
6464
runs-on: ubuntu-latest
6565
steps:
66-
- uses: actions/checkout@v4
66+
- uses: actions/checkout@v4
6767

68-
- name: Build sdist
69-
run: pipx run build --sdist
68+
- name: Build sdist
69+
run: pipx run build --sdist
7070

71-
- uses: actions/upload-artifact@v4
72-
with:
73-
name: cibw-sdist
74-
path: dist/*.tar.gz
71+
- uses: actions/upload-artifact@v4
72+
with:
73+
name: cibw-sdist
74+
path: dist/*.tar.gz
7575

7676
publish-to-pypi:
7777
name: Publish Python distribution to PyPI

0 commit comments

Comments
 (0)