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