Skip to content

Commit 8d8d7dd

Browse files
committed
Add explicit targets for windows builds
1 parent e97e001 commit 8d8d7dd

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/publish_to_npm.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ jobs:
3131
- host: windows-latest
3232
build: |
3333
yarn set version 3
34-
yarn build
34+
rustup target add x86_64-pc-windows-msvc
35+
yarn build --target x86_64-pc-windows-msvc
3536
target: x86_64-pc-windows-msvc
3637
- host: ubuntu-latest
3738
target: x86_64-unknown-linux-gnu
@@ -71,7 +72,8 @@ jobs:
7172
target: aarch64-pc-windows-msvc
7273
build: |
7374
yarn set version 3
74-
yarn build
75+
rustup target add aarch64-pc-windows-msvc
76+
yarn build --target aarch64-pc-windows-msvc
7577
name: stable - ${{ matrix.settings.target }} - node@22
7678
runs-on: ${{ matrix.settings.host }}
7779
steps:

0 commit comments

Comments
 (0)