mirror of
https://github.com/actions/runner-images.git
synced 2025-12-20 06:35:47 +00:00
[all OSs] Pin Rust to 1.89.0 due to a 1.90.0 breaking change (#13044)
This commit is contained in:
@@ -18,7 +18,8 @@ Test-FileChecksum $rustupPath -ExpectedSHA256Sum $distributorFileHash
|
||||
#endregion
|
||||
|
||||
# Install Rust by running rustup-init.exe (disabling the confirmation prompt with -y)
|
||||
& $rustupPath -y --default-toolchain=stable --profile=minimal
|
||||
# Pin to 1.89.0 until https://github.com/actions/runner-images/issues/13041 && https://github.com/rust-lang/rust/issues/145936 is resolved
|
||||
& $rustupPath -y --default-toolchain=1.89.0 --profile=minimal
|
||||
if ($LASTEXITCODE -ne 0) {
|
||||
throw "Rust installation failed with exit code $LASTEXITCODE"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user