mirror of https://github.com/yewstack/yew
Install trunk in 1s for CI/CD (#1808)
Use trunk-action and wasm-bindgen-action
This commit is contained in:
parent
505826e109
commit
21eca25fd0
|
@ -29,9 +29,15 @@ jobs:
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
cargo-${{ runner.os }}-
|
cargo-${{ runner.os }}-
|
||||||
|
|
||||||
- name: Install trunk
|
- uses: jetli/trunk-action@v0.1.0
|
||||||
run: |
|
with:
|
||||||
cargo install trunk wasm-bindgen-cli
|
# Optional version of trunk to install(eg. 'v0.8.1', 'latest')
|
||||||
|
version: 'latest'
|
||||||
|
|
||||||
|
- uses: jetli/wasm-bindgen-action@v0.1.0
|
||||||
|
with:
|
||||||
|
# Optional version of wasm-bindgen to install(eg. '0.2.68', 'latest')
|
||||||
|
version: 'latest'
|
||||||
|
|
||||||
- name: Build examples
|
- name: Build examples
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in New Issue