Skip to content

Commit

Permalink
Try actions-rs/toolchain action instead...
Browse files Browse the repository at this point in the history
  • Loading branch information
victorb committed Aug 9, 2024
1 parent 0b8ae14 commit e1cd1fd
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/wasm-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,14 @@ jobs:
uses: actions/checkout@v4
- name: Install dependencies
run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev libwayland-dev libxkbcommon-dev
- name: Install Rust Nightly
run: rustup toolchain install nightly
- name: Install rust-src
run: rustup component add --toolchain nightly rust-src
- name: Install wasm32 rust target
run: rustup target install --toolchain nightly wasm32-unknown-unknown
- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
default: nightly
components: rustfmt, clippy rust-src
target: wasm32-unknown-unknown
- name: make wasm-examples
run: make wasm-examples
- name: Setup Pages
Expand Down

0 comments on commit e1cd1fd

Please sign in to comment.