From 05ce6d5132a32c3de128debadeaaca88f9eaf6a7 Mon Sep 17 00:00:00 2001 From: Marie Ramlow Date: Mon, 9 Dec 2024 20:41:21 +0100 Subject: [PATCH] workflow: cleanup disk space before building --- .github/workflows/ci.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index d0d0d683..fbaec1e9 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -27,6 +27,12 @@ jobs: steps: - uses: actions/checkout@v4 - uses: cachix/install-nix-action@ba0dd844c9180cbf77aa72a116d6fbc515d0e87b # v27 + - name: Cleanup disk 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" - name: Build ${{ matrix.package }} env: CACHIX_AUTH_TOKEN: ${{ secrets.CACHIX_AUTH_TOKEN }}