Skip to content

Commit 21eca25

Browse files
authored
Install trunk in 1s for CI/CD (#1808)
Use trunk-action and wasm-bindgen-action
1 parent 505826e commit 21eca25

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/publish-examples.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,15 @@ jobs:
2929
restore-keys: |
3030
cargo-${{ runner.os }}-
3131
32-
- name: Install trunk
33-
run: |
34-
cargo install trunk wasm-bindgen-cli
32+
- uses: jetli/trunk-action@v0.1.0
33+
with:
34+
# Optional version of trunk to install(eg. 'v0.8.1', 'latest')
35+
version: 'latest'
36+
37+
- uses: jetli/wasm-bindgen-action@v0.1.0
38+
with:
39+
# Optional version of wasm-bindgen to install(eg. '0.2.68', 'latest')
40+
version: 'latest'
3541

3642
- name: Build examples
3743
run: |

0 commit comments

Comments
 (0)