mirror of
https://github.com/actions/runner-images.git
synced 2025-12-11 11:37:00 +00:00
[Ubuntu] Fix rust issue for ubuntu-20 and ubuntu-22 (#11948)
This commit is contained in:
@@ -20,11 +20,11 @@ source $CARGO_HOME/env
|
|||||||
rustup component add rustfmt clippy
|
rustup component add rustfmt clippy
|
||||||
|
|
||||||
if is_ubuntu22; then
|
if is_ubuntu22; then
|
||||||
cargo install bindgen-cli cbindgen cargo-audit cargo-outdated
|
cargo install --locked bindgen-cli cbindgen cargo-audit cargo-outdated
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if is_ubuntu20; then
|
if is_ubuntu20; then
|
||||||
cargo install bindgen-cli cbindgen cargo-audit cargo-outdated
|
cargo install --locked bindgen-cli cbindgen cargo-audit cargo-outdated
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Cleanup Cargo cache
|
# Cleanup Cargo cache
|
||||||
|
|||||||
Reference in New Issue
Block a user