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