mirror of
https://github.com/taiki-e/install-action
synced 2026-09-07 20:03:26 +00:00
Don't try to run cargo binstall --version (#16)
This commit is contained in:
@@ -353,6 +353,7 @@ for tool in "${tools[@]}"; do
|
||||
|
||||
info "${tool} installed at $(type -P "${bin}")"
|
||||
case "${bin}" in
|
||||
cargo-binstall) x cargo binstall | head 1 ;; # cargo binstall doesn't have a normal --version flag
|
||||
cargo-*) x cargo "${tool#cargo-}" --version ;;
|
||||
*) x "${tool}" --version ;;
|
||||
esac
|
||||
|
||||
Reference in New Issue
Block a user