mirror of
https://github.com/taiki-e/install-action.git
synced 2026-04-21 15:10:27 +00:00
Re-add version info output
This commit is contained in:
12
main.sh
12
main.sh
@@ -281,6 +281,16 @@ for tool in "${tools[@]}"; do
|
||||
| tar xzf - -C ${CARGO_HOME:-~/.cargo}/bin
|
||||
;;
|
||||
cargo-binstall) install_cargo_binstall ;;
|
||||
*) cargo_binstall "$tool" "$version" ;;
|
||||
*)
|
||||
cargo_binstall "$tool" "$version"
|
||||
continue
|
||||
;;
|
||||
esac
|
||||
|
||||
info "${tool} installed at $(type -P "${tool}")"
|
||||
case "${tool}" in
|
||||
cargo-* | nextest) x cargo "${tool#cargo-}" --version ;;
|
||||
*) x "${tool}" --version ;;
|
||||
esac
|
||||
echo
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user