Skip to content

Commit d401950

Browse files
chore(ci): 更新 macOS 构建矩阵配置 (#42)
- 将单 runner 改为矩阵配置 - 分别指定 intel 和 arm 架构的 runner
1 parent e6e090d commit d401950

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -348,12 +348,14 @@ jobs:
348348
build_python_macos:
349349
name: Build Python Binary - macOS Universal
350350
needs: publish_parser_js
351-
runs-on: macos-latest
351+
runs-on: ${{ matrix.os }}
352352
strategy:
353353
matrix:
354-
arch:
355-
- amd64
356-
- arm64
354+
include:
355+
- os: macos-15-intel
356+
arch: amd64
357+
- os: macos-latest
358+
arch: arm64
357359
steps:
358360
- name: Checkout code
359361
uses: actions/checkout@v4

0 commit comments

Comments
 (0)