Skip to content

Commit ca57ce2

Browse files
committed
[ci] Build the prebuilt binary for macOS with the Intel runner image
1 parent 1b9081d commit ca57ce2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 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,9 +62,9 @@ jobs:
6262
architecture: ${{ matrix.arch }}
6363
- run: npm install
6464
- run: npm run prebuild
65-
if: matrix.os != 'macos-latest'
65+
if: matrix.os != 'macos-15-intel'
6666
- run: npm run prebuild-darwin-x64+arm64
67-
if: matrix.os == 'macos-latest'
67+
if: matrix.os == 'macos-15-intel'
6868
- uses: actions/upload-artifact@v5
6969
with:
7070
name: ${{ matrix.os }}-${{ matrix.arch }}
@@ -84,7 +84,7 @@ jobs:
8484
id: get_version
8585
- run:
8686
tar -cvf "${{ steps.get_version.outputs.version
87-
}}-darwin-x64+arm64.tar" -C "prebuilds/macos-latest-x64"
87+
}}-darwin-x64+arm64.tar" -C "prebuilds/macos-15-intel-x64"
8888
darwin-x64+arm64
8989
- run:
9090
tar -cvf "${{ steps.get_version.outputs.version }}-linux-x64.tar" -C

0 commit comments

Comments
 (0)