Skip to content

Commit 14f0473

Browse files
committed
[ci] Build the prebuilt binary for macOS with the Intel runner image
1 parent 259b31a commit 14f0473

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,12 @@ jobs:
4646
- x64
4747
- x86
4848
os:
49-
- macos-latest
49+
- macos-15-intel
5050
- ubuntu-22.04
5151
- windows-latest
5252
exclude:
5353
- arch: x86
54-
os: macos-latest
54+
os: macos-15-intel
5555
- arch: x86
5656
os: ubuntu-22.04
5757
steps:
@@ -62,7 +62,7 @@ jobs:
6262
architecture: ${{ matrix.arch }}
6363
- run: npm install
6464
- run: npm run prebuild-darwin-x64+arm64
65-
if: matrix.os == 'macos-latest'
65+
if: matrix.os == 'macos-15-intel'
6666
- run: |
6767
npm run prebuild
6868
npm run prebuild-linux-musl-x64
@@ -88,7 +88,7 @@ jobs:
8888
id: get_version
8989
- run:
9090
tar -cvf "${{ steps.get_version.outputs.version
91-
}}-darwin-x64+arm64.tar" -C "prebuilds/macos-latest-x64"
91+
}}-darwin-x64+arm64.tar" -C "prebuilds/macos-15-intel-x64"
9292
darwin-x64+arm64
9393
- run:
9494
tar -cvf "${{ steps.get_version.outputs.version }}-linux-x64.tar" -C

0 commit comments

Comments
 (0)