mirror of
https://github.com/taiki-e/install-action.git
synced 2026-05-09 22:30:28 +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
|
| tar xzf - -C ${CARGO_HOME:-~/.cargo}/bin
|
||||||
;;
|
;;
|
||||||
cargo-binstall) install_cargo_binstall ;;
|
cargo-binstall) install_cargo_binstall ;;
|
||||||
*) cargo_binstall "$tool" "$version" ;;
|
*)
|
||||||
|
cargo_binstall "$tool" "$version"
|
||||||
|
continue
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
info "${tool} installed at $(type -P "${tool}")"
|
||||||
|
case "${tool}" in
|
||||||
|
cargo-* | nextest) x cargo "${tool#cargo-}" --version ;;
|
||||||
|
*) x "${tool}" --version ;;
|
||||||
|
esac
|
||||||
|
echo
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user