From dfdb234f6e47a53541b6193f0dcb8f3d6fc406dd Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Sat, 11 May 2024 11:39:40 +0800 Subject: [PATCH] v1.18: ci: don't self-update rustup when using the rust-version script (backport of #1209) (#1215) ci: don't self-update rustup when using the rust-version script (#1209) * ci: don't update rustup when using the rust-version script * XXX: fake updates for triggering all * Revert "XXX: fake updates for triggering all" This reverts commit b343e61ad36f4b2108b06faa66c2525b6eedad33. (cherry picked from commit 206a87ab5da64eb362f5e40131d8bf9625985c0f) Co-authored-by: Yihau Chen --- ci/rust-version.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/rust-version.sh b/ci/rust-version.sh index 3db1a843fa105b..98ad807d71dd0a 100644 --- a/ci/rust-version.sh +++ b/ci/rust-version.sh @@ -45,7 +45,7 @@ export rust_nightly_docker_image=solanalabs/rust-nightly:"$nightly_version" declare toolchain=$1 if ! cargo +"$toolchain" -V > /dev/null; then echo "$0: Missing toolchain? Installing...: $toolchain" >&2 - rustup install "$toolchain" + rustup install "$toolchain" --no-self-update cargo +"$toolchain" -V fi }