File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,8 @@ echo "Installing Rustup..."
1010brew_smart_install " rustup-init"
1111
1212echo " Installing Rust language..."
13- rustup-init -y --no-modify-path --default-toolchain=stable --profile=minimal
13+ # Pin to 1.89.0 until https://github.com/actions/runner-images/issues/13041 && https://github.com/rust-lang/rust/issues/145936 is resolved
14+ rustup-init -y --no-modify-path --default-toolchain=1.89.0 --profile=minimal
1415
1516echo " Initialize environment variables..."
1617CARGO_HOME=$HOME /.cargo
Original file line number Diff line number Diff line change @@ -11,7 +11,8 @@ source $HELPER_SCRIPTS/os.sh
1111export RUSTUP_HOME=/etc/skel/.rustup
1212export CARGO_HOME=/etc/skel/.cargo
1313
14- curl -fsSL https://sh.rustup.rs | sh -s -- -y --default-toolchain=stable --profile=minimal
14+ # Pin to 1.89.0 until https://github.com/actions/runner-images/issues/13041 && https://github.com/rust-lang/rust/issues/145936 is resolved
15+ curl -fsSL https://sh.rustup.rs | sh -s -- -y --default-toolchain=1.89.0 --profile=minimal
1516
1617# Initialize environment variables
1718source $CARGO_HOME /env
Original file line number Diff line number Diff line change @@ -18,7 +18,8 @@ Test-FileChecksum $rustupPath -ExpectedSHA256Sum $distributorFileHash
1818# endregion
1919
2020# Install Rust by running rustup-init.exe (disabling the confirmation prompt with -y)
21- & $rustupPath - y -- default- toolchain= stable -- profile= minimal
21+ # Pin to 1.89.0 until https://github.com/actions/runner-images/issues/13041 && https://github.com/rust-lang/rust/issues/145936 is resolved
22+ & $rustupPath - y -- default- toolchain= 1.89 .0 -- profile= minimal
2223if ($LASTEXITCODE -ne 0 ) {
2324 throw " Rust installation failed with exit code $LASTEXITCODE "
2425}
You can’t perform that action at this time.
0 commit comments