Skip to content

Commit c55f547

Browse files
committed
Use a specific tag for bevy_cli install
1 parent aeec616 commit c55f547

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

.github/workflows/release.yaml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)