Skip to content

Commit 46ea786

Browse files
authored
Merge pull request #363 from karthik2804/fix_release_Ci
fix release ci by installing proper rust target
2 parents f03844b + f29585c commit 46ea786

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/release.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,22 @@ on:
1010

1111
env:
1212
NODE_VERSION: "22"
13+
RUST_VERSION: 1.84
1314

1415
jobs:
1516
lint_and_test:
1617
runs-on: ubuntu-latest
1718
steps:
1819
- uses: actions/checkout@v3
20+
- name: Install Rust toolchain
21+
shell: bash
22+
run: |
23+
rustup toolchain install ${{ env.RUST_VERSION }} --no-self-update
24+
rustup default ${{ env.RUST_VERSION }}
25+
26+
- name: Install Rust toolchain
27+
run: rustup target add wasm32-wasip1 wasm32-unknown-unknown --toolchain ${{ env.RUST_VERSION }}
28+
1929
- name: Install Node.js
2030
uses: actions/setup-node@v3
2131
with:

0 commit comments

Comments
 (0)