Skip to content

Commit 94103ea

Browse files
committed
add rust install to deployment
1 parent 7a69ac0 commit 94103ea

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.github/workflows/deploy-to-ghpages.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,15 @@ jobs:
2727
path: ~/.npm
2828
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
2929

30-
# Remove this unless you use a plugin that needs ./.cache
31-
# - name: Persist Eleventy .cache
32-
# uses: actions/cache@v3
33-
# with:
34-
# path: ./.cache
35-
# key: ${{ runner.os }}-eleventy-fetch-cache
30+
- name: Install Rust
31+
uses: actions-rs/toolchain@v1
32+
with:
33+
toolchain: stable
34+
target: wasm32-unknown-unknown
35+
override: true
36+
37+
- name: Install wasm-pack
38+
run: cargo install wasm-pack
3639

3740
- run: npm ci
3841
- run: npm run build-ghpages

0 commit comments

Comments
 (0)