mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 21:38:13 +00:00
Cleanup Cargo registry data folders (#914)
* Remove Cargo cache for Linux * Remove Cargo cache for Windows * Remove entire registry folder
This commit is contained in:
@@ -32,6 +32,9 @@ for cmd in rustup rustc rustdoc cargo rustfmt cargo-clippy bindgen cbindgen; do
|
||||
fi
|
||||
done
|
||||
|
||||
# Cleanup Cargo cache
|
||||
rm -rf "${CARGO_HOME}/registry/*"
|
||||
|
||||
# Update /etc/environemnt
|
||||
prependEtcEnvironmentPath "${CARGO_HOME}/bin"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user