From e2b1c943004758252f0e4e0e665279afa96315e8 Mon Sep 17 00:00:00 2001 From: Azanul Date: Mon, 19 Feb 2024 12:54:32 +0530 Subject: [PATCH] ci: clear space for build Signed-off-by: Azanul --- .github/workflows/release.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index af6fc3184..13b69c851 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,6 +34,13 @@ jobs: runs-on: ubuntu-latest needs: build_frontend steps: + - name: Clear space + run: | + sudo rm -rf /usr/share/dotnet + sudo rm -rf /opt/ghc + sudo rm -rf "/usr/local/share/boost" + sudo rm -rf "$AGENT_TOOLSDIRECTORY" + - uses: actions/checkout@v4 with: fetch-depth: 0 @@ -67,12 +74,6 @@ jobs: username: ${{ secrets.DOCKERHUB_LOGIN }} password: ${{ secrets.DOCKERHUB_PASSWORD }} - - name: Clear space - run: | - sudo rm -rf /usr/share/dotnet - sudo rm -rf /opt/ghc - sudo rm -rf "/usr/local/share/boost" - sudo rm -rf "$AGENT_TOOLSDIRECTORY" - uses: goreleaser/goreleaser-action@v4 with: distribution: goreleaser