2023-05-17 11:59:11 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
set -eu
|
|
|
|
|
2023-05-17 13:22:30 +00:00
|
|
|
id
|
|
|
|
|
2023-05-17 11:59:11 +00:00
|
|
|
df -h
|
|
|
|
|
|
|
|
sudo systemd-run --wait rm -rf \
|
|
|
|
/usr/share/az* \
|
|
|
|
/usr/share/dotnet \
|
|
|
|
/usr/share/gradle* \
|
|
|
|
/usr/share/miniconda \
|
|
|
|
/usr/share/swift \
|
|
|
|
/var/lib/gems \
|
|
|
|
/var/lib/mysql \
|
2023-06-17 12:47:12 +00:00
|
|
|
/var/lib/snapd \
|
|
|
|
/opt/hostedtoolcache/CodeQL \
|
|
|
|
/opt/hostedtoolcache/Java_Temurin-Hotspot_jdk
|
2023-05-17 11:59:11 +00:00
|
|
|
|
|
|
|
sudo fstrim /
|
|
|
|
|
|
|
|
df -h
|