49
49
target : i686-pc-windows-msvc
50
50
- host : ubuntu-latest
51
51
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
53
53
- host : ubuntu-latest
54
54
target : x86_64-unknown-linux-musl
55
55
build : yarn build --target x86_64-unknown-linux-musl -x --features openssl-vendored
@@ -58,10 +58,10 @@ jobs:
58
58
build : yarn build --target aarch64-apple-darwin --features openssl-vendored
59
59
- host : ubuntu-latest
60
60
target : aarch64-unknown-linux-gnu
61
- build : yarn build --target aarch64-unknown-linux-gnu --use-napi- cross --features openssl-vendored
61
+ build : yarn build --target aarch64-unknown-linux-gnu --use-cross --features openssl-vendored
62
62
- host : ubuntu-latest
63
63
target : armv7-unknown-linux-gnueabihf
64
- build : yarn build --target armv7-unknown-linux-gnueabihf --use-napi- cross --features openssl-vendored
64
+ build : yarn build --target armv7-unknown-linux-gnueabihf --use-cross --features openssl-vendored
65
65
- host : ubuntu-latest
66
66
target : aarch64-unknown-linux-musl
67
67
build : yarn build --target aarch64-unknown-linux-musl -x --features openssl-vendored
@@ -97,13 +97,13 @@ jobs:
97
97
if : ${{ contains(matrix.settings.build, ' -x ') }}
98
98
with :
99
99
version : 0.14.1
100
- - name : Install cargo-zigbuild
100
+ - name : Install ${{contains(matrix.settings.build, ' -x ') && ' cargo-zigbuild' || 'cargo-cross'}}
101
101
uses : taiki-e/install-action@v2
102
102
if : contains(matrix.settings.build, ' -x ') || contains(matrix.settings.build, '--use-cross ')
103
103
env :
104
104
GITHUB_TOKEN : ${{ github.token }}
105
105
with :
106
- tool : ${{contains(matrix.settings.build, ' -x ') && 'cargo-zigbuild' || 'cargo- cross'}}
106
+ tool : ${{contains(matrix.settings.build, ' -x ') && 'cargo-zigbuild' || 'cross'}}
107
107
- name : Setup toolchain
108
108
run : ${{ matrix.settings.setup }}
109
109
if : ${{ matrix.settings.setup }}
0 commit comments