Install xargo using CI dictated cargo version if available (#9068)

This commit is contained in:
Jack May
2020-03-26 11:47:41 -07:00
committed by GitHub
parent 6678dd10a5
commit 30bed18b77
2 changed files with 4 additions and 5 deletions

View File

@ -22,12 +22,10 @@ download() {
wget "${args[@]}"
}
# Install or upgrade xargo
# Install xargo
(
cargo install cargo-update
cargo install-update-config --version =0.3.19 xargo
set -e
cargo install-update -i xargo
set -ex
cargo +"${rust_stable:-}" install xargo
xargo --version > xargo.md 2>&1
)
# shellcheck disable=SC2181