mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +00:00
[Windows] Update Rustup download link (#7106)
This commit is contained in:
@@ -9,7 +9,7 @@ $env:CARGO_HOME = "C:\Users\Default\.cargo"
|
|||||||
|
|
||||||
# Download the latest rustup-init.exe for Windows x64
|
# Download the latest rustup-init.exe for Windows x64
|
||||||
# See https://rustup.rs/#
|
# See https://rustup.rs/#
|
||||||
$rustupPath = Start-DownloadWithRetry -Url "https://win.rustup.rs/x86_64" -Name "rustup-init.exe"
|
$rustupPath = Start-DownloadWithRetry -Url "https://static.rust-lang.org/rustup/dist/x86_64-pc-windows-msvc/rustup-init.exe" -Name "rustup-init.exe"
|
||||||
|
|
||||||
# Install Rust by running rustup-init.exe (disabling the confirmation prompt with -y)
|
# Install Rust by running rustup-init.exe (disabling the confirmation prompt with -y)
|
||||||
& $rustupPath -y --default-toolchain=stable --profile=minimal
|
& $rustupPath -y --default-toolchain=stable --profile=minimal
|
||||||
|
|||||||
Reference in New Issue
Block a user