mirror of
https://github.com/taiki-e/install-action.git
synced 2026-04-21 15:10:27 +00:00
Don't try to run cargo binstall --version (#16)
This commit is contained in:
committed by
GitHub
parent
92705122ed
commit
1dda3d1d7e
1
main.sh
1
main.sh
@@ -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