From 5162063d40365116ba335666a78a04e560a79d6f Mon Sep 17 00:00:00 2001 From: Nicolas Filotto Date: Tue, 22 Oct 2024 18:10:12 +0200 Subject: [PATCH] Ref #534: Build runs out of space --- .github/workflows/main.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f6da17ca9..67928dd9e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -33,9 +33,21 @@ jobs: build: runs-on: ubuntu-latest steps: + - name: Check disk space + run: df . -h + - name: Free disk space + run: | + sudo rm -rf /usr/share/dotnet \ + /opt/ghc \ + "/usr/local/share/boost" \ + "$AGENT_TOOLSDIRECTORY" \ + - name: Check disk space + run: df . -h - uses: actions/checkout@v4 - uses: actions/setup-java@v4 with: java-version: 17 distribution: zulu - run: ./mvnw -V --no-transfer-progress clean install -Ddump.logs.on.failure=true + - name: Check disk space + run: df . -h