Skip to content

Commit b023f53

Browse files
committed
Try setting cargo env var for cross compile
1 parent 9f83e42 commit b023f53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ jobs:
4949
profile: minimal
5050
toolchain: stable
5151
target: ${{ matrix.system.target }}
52-
default: true
5352
override: true
5453
- name: Install modules
5554
run: yarn install --ignore-scripts
@@ -60,6 +59,7 @@ jobs:
6059
env:
6160
PRE_GYP_PLATFORM: ${{ matrix.system.pre_gyp_platform }}
6261
PRE_GYP_ARCH: ${{ matrix.system.pre_gyp_arch }}
62+
CARGO_BUILD_TARGET: ${{ matrix.system.target }}
6363
run: |
6464
node publish.js
6565
cd bin-package

0 commit comments

Comments
 (0)