mirror of
https://github.com/taiki-e/install-action.git
synced 2026-04-21 23:20:26 +00:00
Fix version output
This commit is contained in:
3
main.sh
3
main.sh
@@ -707,7 +707,8 @@ for tool in "${tools[@]}"; do
|
|||||||
case "${tool_bin_stem}" in
|
case "${tool_bin_stem}" in
|
||||||
# biome up to 1.2.2 exits with 1 on both --version and --help flags.
|
# biome up to 1.2.2 exits with 1 on both --version and --help flags.
|
||||||
# cargo-machete up to 0.6.0 does not support --version flag.
|
# cargo-machete up to 0.6.0 does not support --version flag.
|
||||||
biome | cargo-machete) rx "${tool_bin_stem}" --version || true ;;
|
biome) rx "${tool_bin_stem}" --version || true ;;
|
||||||
|
cargo-machete) rx "${tool_bin_stem}" "${tool_bin_stem#cargo-}" --version || true ;;
|
||||||
# these packages support neither --version nor --help flag.
|
# these packages support neither --version nor --help flag.
|
||||||
cargo-careful | wasm-bindgen-test-runner) ;;
|
cargo-careful | wasm-bindgen-test-runner) ;;
|
||||||
# wasm2es6js does not support --version flag and --help flag doesn't contains version info.
|
# wasm2es6js does not support --version flag and --help flag doesn't contains version info.
|
||||||
|
|||||||
Reference in New Issue
Block a user