diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 27779bd89..1c57dedf0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,6 +30,25 @@ jobs: RUST_BACKTRACE: "full" steps: + - name: Cleanup unused stuff + if: runner.os == 'Linux' + run: | + df -h / + sudo rm -rf \ + "$AGENT_TOOLSDIRECTORY" \ + /opt/google/chrome \ + /opt/microsoft/msedge \ + /opt/microsoft/powershell \ + /opt/pipx \ + /usr/lib/mono \ + /usr/local/julia* \ + /usr/local/lib/android \ + /usr/local/lib/node_modules \ + /usr/local/share/chromium \ + /usr/local/share/powershell \ + /usr/share/dotnet \ + /usr/share/swift + df -h / - run: git config --system core.longpaths true if: runner.os == 'Windows' - uses: actions/checkout@v4