From 110f36749599534ca96628b82f52ae67e5d95a3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Ram=C3=B3n=20Jim=C3=A9nez?= Date: Tue, 12 Mar 2024 01:12:48 +0100 Subject: [PATCH] Disable `auto-self-update` for `rustup` See: https://github.com/rust-lang/rustup/issues/3189 --- setup.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.sh b/setup.sh index 572f3c0..5f01c6d 100755 --- a/setup.sh +++ b/setup.sh @@ -12,6 +12,7 @@ args=() # shellcheck disable=SC2206 [[ -n "${INPUT_TARGETS}" ]] && args+=(-t "${INPUT_TARGETS// /}") +rustup set auto-self-update disable rustup toolchain install "${INPUT_RUST_VERSION}" --profile "${INPUT_PROFILE}" "${args[@]}" rustup default "${INPUT_RUST_VERSION}"