Skip to content

Commit 20d7f4d

Browse files
Fix jsPublish workflow macos run-on versions to support intel and arm64 processors
1 parent e0ab615 commit 20d7f4d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/JsPublish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
fail-fast: false
2727
matrix:
2828
settings:
29-
- host: macos-latest
29+
- host: macos-13 # (intel processor)
3030
target: x86_64-apple-darwin
3131
build: yarn build --target x86_64-apple-darwin
3232
- host: windows-latest
@@ -45,7 +45,7 @@ jobs:
4545
target: x86_64-unknown-linux-musl
4646
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
4747
build: yarn build --target x86_64-unknown-linux-musl
48-
- host: macos-latest
48+
- host: macos-latest # (arm64 processor)
4949
target: aarch64-apple-darwin
5050
build: yarn build --target aarch64-apple-darwin
5151
- host: ubuntu-latest
@@ -211,7 +211,7 @@ jobs:
211211
fail-fast: false
212212
matrix:
213213
settings:
214-
- host: macos-latest
214+
- host: macos-13
215215
target: x86_64-apple-darwin
216216
- host: windows-latest
217217
target: x86_64-pc-windows-msvc

0 commit comments

Comments
 (0)