Disable auto-self-update
for rustup
See: https://github.com/rust-lang/rustup/issues/3189
This commit is contained in:
parent
f344d1a51e
commit
110f367495
1
setup.sh
1
setup.sh
@ -12,6 +12,7 @@ args=()
|
|||||||
# shellcheck disable=SC2206
|
# shellcheck disable=SC2206
|
||||||
[[ -n "${INPUT_TARGETS}" ]] && args+=(-t "${INPUT_TARGETS// /}")
|
[[ -n "${INPUT_TARGETS}" ]] && args+=(-t "${INPUT_TARGETS// /}")
|
||||||
|
|
||||||
|
rustup set auto-self-update disable
|
||||||
rustup toolchain install "${INPUT_RUST_VERSION}" --profile "${INPUT_PROFILE}" "${args[@]}"
|
rustup toolchain install "${INPUT_RUST_VERSION}" --profile "${INPUT_PROFILE}" "${args[@]}"
|
||||||
rustup default "${INPUT_RUST_VERSION}"
|
rustup default "${INPUT_RUST_VERSION}"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user