mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +00:00
[Windows 19 & Windows 22] Fix Rust issue. (#11949)
This commit is contained in:
@@ -40,7 +40,7 @@ if ($LASTEXITCODE -ne 0) {
|
|||||||
throw "Rust component installation failed with exit code $LASTEXITCODE"
|
throw "Rust component installation failed with exit code $LASTEXITCODE"
|
||||||
}
|
}
|
||||||
if (-not (Test-IsWin25)) {
|
if (-not (Test-IsWin25)) {
|
||||||
cargo install bindgen-cli cbindgen cargo-audit cargo-outdated
|
cargo install --locked bindgen-cli cbindgen cargo-audit cargo-outdated
|
||||||
if ($LASTEXITCODE -ne 0) {
|
if ($LASTEXITCODE -ne 0) {
|
||||||
throw "Rust tools installation failed with exit code $LASTEXITCODE"
|
throw "Rust tools installation failed with exit code $LASTEXITCODE"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user