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