From a9b3773cca1ccc9f63db39ed8e41871e153e30f9 Mon Sep 17 00:00:00 2001 From: mu <59917266+4eUeP@users.noreply.github.com> Date: Tue, 12 Sep 2023 11:48:31 +0800 Subject: [PATCH] ci: minor improvements --- .github/workflows/ci.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7d4b461bf..d729fd7c1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -272,6 +272,18 @@ jobs: ghc: ${{ fromJson(needs.pre-build.outputs.ghc) }} steps: + - name: Free disk space + run: | + echo "Before..." + df -h + sudo rm -rf \ + /usr/share/dotnet /usr/local/lib/android /opt/ghc \ + /usr/local/share/powershell /usr/share/swift /usr/local/.ghcup \ + "/usr/local/share/boost" \ + /usr/lib/jvm || true + echo "After..." + df -h + - name: retrieve saved docker image uses: actions/download-artifact@v3 with: @@ -329,6 +341,18 @@ jobs: ghc: ${{ fromJson(needs.pre-build.outputs.ghc) }} steps: + - name: Free disk space + run: | + echo "Before..." + df -h + sudo rm -rf \ + /usr/share/dotnet /usr/local/lib/android /opt/ghc \ + /usr/local/share/powershell /usr/share/swift /usr/local/.ghcup \ + "/usr/local/share/boost" \ + /usr/lib/jvm || true + echo "After..." + df -h + - name: retrieve saved docker image uses: actions/download-artifact@v3 with: