Skip to content

Commit 33ba444

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

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
@@ -332,12 +332,14 @@ jobs:
332332
build_python_macos:
333333
name: Build Python Binary - macOS Universal
334334
needs: publish_parser_js
335-
runs-on: macos-latest
335+
runs-on: ${{ matrix.os }}
336336
strategy:
337337
matrix:
338-
arch:
339-
- amd64
340-
- arm64
338+
include:
339+
- os: macos-15-intel
340+
arch: amd64
341+
- os: macos-latest
342+
arch: arm64
341343
steps:
342344
- name: Checkout code
343345
uses: actions/checkout@v4

0 commit comments

Comments
 (0)