From 6e0a0a93caca236f0224b360a571ee7de930bd6b Mon Sep 17 00:00:00 2001 From: Shunichi Shinohara Date: Sun, 9 Jun 2024 10:21:01 +0900 Subject: [PATCH] fix(build): Remove unused files to avoid disk full cf. - https://zenn.dev/pinto0309/scraps/c6413eb15a1b2a (in Japanese) - https://github.com/actions/runner-images/issues/709 --- .github/workflows/goreleaser.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index cbb12d83..7e004796 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -20,6 +20,13 @@ jobs: uses: actions/setup-go@v5 with: go-version-file: go.mod + - + name: Clean space as per https://github.com/actions/virtual-environments/issues/709 + run: | + sudo rm -rf "/opt/ghc" || true + sudo rm -rf "/usr/share/dotnet" || true + sudo rm -rf "/usr/local/lib/android" || true + sudo rm -rf "/usr/local/share/boost" || true - name: Run GoReleaser uses: goreleaser/goreleaser-action@v5