mirror of
https://github.com/taiki-e/install-action
synced 2026-09-14 20:13:27 +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}")"
|
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