mirror of
https://github.com/actions/runner-images.git
synced 2025-12-18 15:57:17 +00:00
Cleanup /root/.cache directory (#4761)
This commit is contained in:
@@ -7,6 +7,7 @@ before=$(df / -Pm | awk 'NR==2{print $4}')
|
||||
# It removes everything but the lock file from /var/cache/apt/archives/ and /var/cache/apt/archives/partial
|
||||
apt-get clean
|
||||
rm -rf /tmp/*
|
||||
rm -rf /root/.cache
|
||||
|
||||
# journalctl
|
||||
if command -v journalctl; then
|
||||
|
||||
Reference in New Issue
Block a user