mirror of
https://github.com/taiki-e/install-action.git
synced 2026-05-10 14:40:32 +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}")"
|
info "${tool} installed at $(type -P "${bin}")"
|
||||||
case "${bin}" in
|
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 ;;
|
cargo-*) x cargo "${tool#cargo-}" --version ;;
|
||||||
*) x "${tool}" --version ;;
|
*) x "${tool}" --version ;;
|
||||||
esac
|
esac
|
||||||
|
|||||||
Reference in New Issue
Block a user