Skip to content

Commit e1cd1fd

Browse files
committed
Try actions-rs/toolchain action instead...
1 parent 0b8ae14 commit e1cd1fd

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/wasm-examples.yml

+8-6
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,14 @@ jobs:
2828
uses: actions/checkout@v4
2929
- name: Install dependencies
3030
run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev libwayland-dev libxkbcommon-dev
31-
- name: Install Rust Nightly
32-
run: rustup toolchain install nightly
33-
- name: Install rust-src
34-
run: rustup component add --toolchain nightly rust-src
35-
- name: Install wasm32 rust target
36-
run: rustup target install --toolchain nightly wasm32-unknown-unknown
31+
- name: Install latest nightly
32+
uses: actions-rs/toolchain@v1
33+
with:
34+
toolchain: nightly
35+
override: true
36+
default: nightly
37+
components: rustfmt, clippy rust-src
38+
target: wasm32-unknown-unknown
3739
- name: make wasm-examples
3840
run: make wasm-examples
3941
- name: Setup Pages

0 commit comments

Comments
 (0)