Skip to content

Commit 4f404ff

Browse files
committed
Set the default rust toolchain for musl linux installs
1 parent 9c828ff commit 4f404ff

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/release-insiders.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,18 +159,23 @@ jobs:
159159
- target: x86_64-unknown-linux-gnu
160160
strip: strip
161161
image: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian
162+
download: false
162163
- target: aarch64-unknown-linux-gnu
163164
strip: llvm-strip
164165
image: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian-aarch64
166+
download: false
165167
- target: armv7-unknown-linux-gnueabihf
166168
strip: llvm-strip
167169
image: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian-zig
170+
download: false
168171
- target: aarch64-unknown-linux-musl
169172
image: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
170173
strip: aarch64-linux-musl-strip
174+
download: true
171175
- target: x86_64-unknown-linux-musl
172176
image: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
173177
strip: strip
178+
download: true
174179

175180
name: Build ${{ matrix.target }} (OXIDE)
176181
runs-on: ubuntu-latest
@@ -215,6 +220,11 @@ jobs:
215220
with:
216221
node-version: ${{ env.NODE_VERSION }}
217222

223+
- name: Install Rust (Stable)
224+
if: ${{ matrix.download }}
225+
run: |
226+
rustup default stable
227+
218228
- name: Setup cross compile toolchain
219229
if: ${{ matrix.setup }}
220230
run: ${{ matrix.setup }}

0 commit comments

Comments
 (0)