Skip to content

Commit eb5ec77

Browse files
committed
try cargo-cross for x86_64-linux-gnu
1 parent 0fe1254 commit eb5ec77

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/node-js-packaging.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
target: i686-pc-windows-msvc
5050
- host: ubuntu-latest
5151
target: x86_64-unknown-linux-gnu
52-
build: yarn build --target x86_64-unknown-linux-gnu -x --features openssl-vendored
52+
build: yarn build --target x86_64-unknown-linux-gnu --use-cross --features openssl-vendored
5353
- host: ubuntu-latest
5454
target: x86_64-unknown-linux-musl
5555
build: yarn build --target x86_64-unknown-linux-musl -x --features openssl-vendored
@@ -97,7 +97,7 @@ jobs:
9797
if: ${{ contains(matrix.settings.build, ' -x ') }}
9898
with:
9999
version: 0.14.1
100-
- name: Install cargo-zigbuild
100+
- name: Install ${{contains(matrix.settings.build, ' -x ') && 'cargo-zigbuild' || 'cargo-cross'}}
101101
uses: taiki-e/install-action@v2
102102
if: contains(matrix.settings.build, ' -x ') || contains(matrix.settings.build, '--use-cross ')
103103
env:

0 commit comments

Comments
 (0)