mirror of
https://github.com/actions/runner-images.git
synced 2025-12-19 08:22:12 +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
|
# It removes everything but the lock file from /var/cache/apt/archives/ and /var/cache/apt/archives/partial
|
||||||
apt-get clean
|
apt-get clean
|
||||||
rm -rf /tmp/*
|
rm -rf /tmp/*
|
||||||
|
rm -rf /root/.cache
|
||||||
|
|
||||||
# journalctl
|
# journalctl
|
||||||
if command -v journalctl; then
|
if command -v journalctl; then
|
||||||
|
|||||||
Reference in New Issue
Block a user