Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 2d71268

Browse files
committed
more
1 parent 7b37cc4 commit 2d71268

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/ci/scripts/free-disk-space.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,13 +114,14 @@ cleanPackages() {
114114
'mono-llvm-tools' \
115115
'podman' \
116116
'^r-base.*' \
117+
'humanity-icon-theme' \
117118
'snapd'
118119

119120
sudo apt-get autoremove -y || echo "::warning::The command [sudo apt-get autoremove -y] failed"
120121
sudo apt-get clean || echo "::warning::The command [sudo apt-get clean] failed failed"
121122

122123
echo "=> Installed packages sorted by size:"
123-
dpkg-query -W --showformat='${Installed-Size} ${Package}\n' | sort -nr
124+
dpkg-query -W --showformat='${Installed-Size} ${Package}\n' | sort -nr | head -200
124125
}
125126

126127
# Remove Docker images
@@ -150,6 +151,10 @@ removeDir "$AGENT_TOOLSDIRECTORY"
150151
removeDir /usr/local/share/powershell
151152
removeDir /usr/local/share/chromium
152153
removeDir /usr/local/lib/node_modules
154+
removeDir /usr/share/miniconda/
155+
removeDir /usr/share/icons/
156+
removeDir "/usr/share/az_*"
157+
removeDir /usr/lib/heroku/
153158

154159
# Haskell runtime
155160
removeDir /opt/ghc

0 commit comments

Comments
 (0)