mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 13:17:54 +00:00
fix rust issue (#10354)
This commit is contained in:
committed by
GitHub
parent
e72f29bfc8
commit
24a5edcdc8
@@ -24,7 +24,7 @@ if is_ubuntu22; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if is_ubuntu20; then
|
if is_ubuntu20; then
|
||||||
cargo install --locked bindgen-cli cbindgen cargo-audit cargo-outdated
|
cargo install bindgen-cli cbindgen cargo-audit cargo-outdated
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Cleanup Cargo cache
|
# Cleanup Cargo cache
|
||||||
|
|||||||
@@ -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"
|
||||||
}
|
}
|
||||||
|
|
||||||
cargo install --locked bindgen-cli cbindgen cargo-audit cargo-outdated
|
cargo install 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