From abe4df909537490a54c44a5327fc441134529115 Mon Sep 17 00:00:00 2001 From: Alex Bozarth Date: Wed, 4 Feb 2026 11:53:48 -0600 Subject: [PATCH] chore: fix free-disk-space action Signed-off-by: Alex Bozarth --- .github/actions/free-disk-space/action.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/actions/free-disk-space/action.yml b/.github/actions/free-disk-space/action.yml index e2af3e9d..601480ef 100644 --- a/.github/actions/free-disk-space/action.yml +++ b/.github/actions/free-disk-space/action.yml @@ -15,11 +15,14 @@ runs: /usr/share/dotnet /usr/local/lib/android /opt/ghc \ /usr/local/share/powershell /usr/share/swift /usr/local/.ghcup \ /usr/lib/jvm || true + sudo apt update >/dev/null 2>&1 sudo apt install aptitude -y >/dev/null 2>&1 sudo aptitude purge '~n ^mysql' -f -y >/dev/null 2>&1 sudo aptitude purge '~n ^dotnet' -f -y >/dev/null 2>&1 sudo apt-get autoremove -y >/dev/null 2>&1 sudo apt-get autoclean -y >/dev/null 2>&1 + sudo apt-get clean >/dev/null 2>&1 + sudo rm -rf /var/lib/apt/lists/* || true shell: bash - name: Print disk space after cleanup run: |