LightCraft: An open-source non-destructive photo editor written by scratch in pure Rust
release.yml: explicit if for the wasm-bindgen install (shellcheck SC2015)
Brandon Thomasfec3b1523493
diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 7b04f35fe..8b3bdea3c 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 version in Cargo.lock exactly (cargo xtask web checks it).- 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 != ''