From 890617c28658371b8360b7474370c301d345d2f7 Mon Sep 17 00:00:00 2001 From: brad-allora Date: Thu, 19 Dec 2024 20:13:16 -0600 Subject: [PATCH] update disk cleanup Signed-off-by: brad-allora --- .github/workflows/goreleaser.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index 2948b7ac2..73c07dc38 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -19,11 +19,16 @@ jobs: fetch-depth: 0 - name: Remove unnecessary directories to free up space run: | + echo "Disk space before cleanup:" + df -h sudo rm -rf /usr/local/.ghcup sudo rm -rf /opt/hostedtoolcache/CodeQL sudo rm -rf /usr/local/lib/android/sdk/ndk sudo rm -rf /usr/share/dotnet sudo rm -rf /opt/ghc + sudo apt-get clean + echo "Disk space after cleanup:" + df -h - name: Set up Go uses: actions/setup-go@v5