File tree Expand file tree Collapse file tree 3 files changed +7
-12
lines changed Expand file tree Collapse file tree 3 files changed +7
-12
lines changed Original file line number Diff line number Diff line change 2525 steps :
2626 - uses : actions/checkout@v4
2727 - run : rustup target add wasm32-unknown-unknown
28- - uses : cargo-bins/cargo-binstall@main
29- - run : cargo binstall cargo-component -y
30- - run : |
31- cargo binstall --git https://github.com/bytecodealliance/wit-bindgen wit-bindgen-cli -y
28+ - uses : jcbhmr/setup-cargo-component@v1
29+ - uses : jcbhmr/setup-wit-bindgen@v1
3230 - id : configure-pages
3331 uses : actions/configure-pages@v4
3432 - run : make build
Original file line number Diff line number Diff line change @@ -30,15 +30,13 @@ jobs:
3030 steps :
3131 - uses : actions/checkout@v4
3232 - run : rustup target add wasm32-unknown-unknown
33- - uses : cargo-bins/cargo-binstall@main
34- - run : cargo binstall cargo-component -y
35- - run : cargo binstall wasm-tools -y
33+ - uses : jcbhmr/setup-cargo-component@v1
34+ - uses : jcbhmr/setup-wasm-tools@v1
3635 - run : make build
3736 - run : |
3837 wasm-tools component wit \
39- target/wasm32-unknown-unknown/debug/${{ env.COMPONENT_WORLD }}.wasm \
40- | sed 's/^/ /' \
41- >> "$GITHUB_STEP_SUMMARY"
38+ "target/wasm32-unknown-unknown/debug/$COMPONENT_WORLD.wasm" \
39+ | sed 's/^/ /' >> "$GITHUB_STEP_SUMMARY"
4240 - uses : actions/upload-artifact@v4
4341 with :
4442 name : artifact
Original file line number Diff line number Diff line change 1212 steps :
1313 - uses : actions/checkout@v4
1414 - run : rustup target add wasm32-unknown-unknown
15- - uses : cargo-bins/cargo-binstall@main
16- - run : cargo binstall cargo-component -y
15+ - uses : jcbhmr/setup-cargo-component@v1
1716 - run : make build RELEASE=1
1817 - run : make publish GHFLAGS="$GHFLAGS"
1918 env :
You can’t perform that action at this time.
0 commit comments