diff --git a/.github/workflows/scripts/reclaim_disk_space.sh b/.github/workflows/scripts/reclaim_disk_space.sh index cc16a90793..a0d1e9c8f0 100755 --- a/.github/workflows/scripts/reclaim_disk_space.sh +++ b/.github/workflows/scripts/reclaim_disk_space.sh @@ -1,20 +1,19 @@ -#!/bin/sh +#!/bin/sh -x set -eu # remove 4GiB of images sudo systemd-run docker system prune --force --all --volumes +# remove unused packages +sudo apt remove -q --purge firefox + # remove unused software sudo systemd-run rm -rf \ "$AGENT_TOOLSDIRECTORY" \ /opt/* \ /usr/local/* \ /usr/share/az* \ - /usr/share/dotnet \ /usr/share/gradle* \ /usr/share/miniconda \ - /usr/share/swift \ - /var/lib/gems \ - /var/lib/mysql \ - /var/lib/snapd + /usr/share/swift