Skip to content

Commit ccb0b56

Browse files
committed
fix(ci): 修正矩阵语法,移除不可用的 macos-13 runner
macos-13 (Intel) runner 已不可用,改为仅使用 macos-14 (ARM64) 构建。 同时修正 matrix include 与 python-version 未正确交叉组合的问题。
1 parent ce0203d commit ccb0b56

1 file changed

Lines changed: 3 additions & 8 deletions

File tree

.github/workflows/build-wheels.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,10 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
include:
16-
- runner: macos-14
17-
arch: arm64
18-
- runner: macos-13
19-
arch: x86_64
2015
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
2116

22-
runs-on: ${{ matrix.runner }}
23-
name: "${{ matrix.arch }} — Python ${{ matrix.python-version }}"
17+
runs-on: macos-14
18+
name: "arm64 — Python ${{ matrix.python-version }}"
2419

2520
steps:
2621
- uses: actions/checkout@v4
@@ -64,7 +59,7 @@ jobs:
6459
6560
- uses: actions/upload-artifact@v4
6661
with:
67-
name: wheel-${{ matrix.arch }}-py${{ matrix.python-version }}
62+
name: wheel-arm64-py${{ matrix.python-version }}
6863
path: dist_fixed/*.whl
6964

7065
release:

0 commit comments

Comments
 (0)