File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,15 +19,26 @@ jobs:
1919 steps :
2020 - uses : little-core-labs/get-git-tag@v3.0.1
2121 id : get_version
22+
2223 - uses : actions/checkout@v4
24+
2325 - uses : actions-rs/toolchain@v1
2426 with :
2527 toolchain : stable
2628 target : wasm32-unknown-unknown
2729 override : true
30+
31+ # bevy_cli installs an older version of wasm-opt via https://crates.io/crates/wasm-opt which is
32+ # incompatible with the wasm produced by rust 1.87
33+ - uses : sigoden/install-binary@v1
34+ with :
35+ repo : WebAssembly/binaryen
36+ name : wasm-opt
37+
2838 - name : install bevy_cli
2939 run : |
30- cargo install --git https://github.com/TheBevyFlock/bevy_cli bevy_cli --features wasm-opt
40+ cargo install --git https://github.com/TheBevyFlock/bevy_cli --tag cli-v0.1.0-alpha.1 --locked bevy_cli
41+
3142 - name : bundle
3243 run : |
3344 bevy build --yes --release --profile web-dist web --bundle
You can’t perform that action at this time.
0 commit comments