FilmCraft: An open-source, nonlinear video editor written by scratch in pure Rust
release.yml: explicit if for the wasm-bindgen install (shellcheck SC2015)
Brandon Thomasc60d3f9c4c4b
diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 0cfad532a..59e6d7d19 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -221,8 +221,9 @@ jobs:- name: Install wasm-bindgen CLIrun: |# Must match the wasm-bindgen crate version exactly (WASM_BINDGEN in xtask/src/main.rs).- command -v wasm-bindgen >/dev/null && wasm-bindgen --version | grep -q "$WASM_BINDGEN_VERSION" \- || cargo install wasm-bindgen-cli --version "$WASM_BINDGEN_VERSION" --locked+ if ! { command -v wasm-bindgen >/dev/null && wasm-bindgen --version | grep -q "$WASM_BINDGEN_VERSION"; }; then+ cargo install wasm-bindgen-cli --version "$WASM_BINDGEN_VERSION" --locked+ fiwasm-bindgen --version- name: Apply version overrideif: inputs.version != ''