From 80bb077cfd8a341424dbd60076b3a9e14518e9fb Mon Sep 17 00:00:00 2001 From: Marco Ferrari Date: Fri, 5 Apr 2024 14:12:35 +0200 Subject: [PATCH] ci: free more space on workers (#5481) - Delete Haskell stuff Close #5477 --- .github/workflows/cd.yml | 6 ++++-- .github/workflows/ci.yml | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 71eda1f1..c9f11251 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -68,8 +68,10 @@ jobs: - name: Free Disk space shell: bash run: | - sudo rm -rf /usr/local/lib/android - sudo rm -rf /usr/share/dotnet + sudo rm -rf /usr/local/lib/android || true + sudo rm -rf /usr/share/dotnet || true + sudo rm -rf /opt/ghc || true + sudo rm -rf /usr/local/.ghcup || true - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c739c430..1c431466 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -79,8 +79,10 @@ jobs: - name: Free Disk space shell: bash run: | - sudo rm -rf /usr/local/lib/android - sudo rm -rf /usr/share/dotnet + sudo rm -rf /usr/local/lib/android || true + sudo rm -rf /usr/share/dotnet || true + sudo rm -rf /opt/ghc || true + sudo rm -rf /usr/local/.ghcup || true - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3