From 0ed168f6727c4d94998f9da170d3213d0529a61c Mon Sep 17 00:00:00 2001 From: Robert Kruszewski Date: Fri, 1 Nov 2024 11:56:37 +0000 Subject: [PATCH 1/2] More aggressive cache cleanup --- .github/actions/cleanup/action.yml | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/.github/actions/cleanup/action.yml b/.github/actions/cleanup/action.yml index 951d0c9c53..012c6be012 100644 --- a/.github/actions/cleanup/action.yml +++ b/.github/actions/cleanup/action.yml @@ -6,8 +6,19 @@ runs: - name: Cleanup workers shell: bash run: | - sudo rm -rf /usr/share/dotnet || true - sudo rm -rf /opt/ghc || true - sudo rm -rf "/usr/local/share/boost" || true - sudo rm -rf "$AGENT_TOOLSDIRECTORY" || true - sudo rm -rf /usr/local/lib/android || true + sudo rm -rf \ + "$AGENT_TOOLSDIRECTORY" \ + /opt/google/chrome \ + /opt/microsoft/msedge \ + /opt/microsoft/powershell \ + /opt/pipx \ + /opt/ghc \ + /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 / \ No newline at end of file From f754d36a08b30c4c5fc5e49999b0f2b3418b6131 Mon Sep 17 00:00:00 2001 From: Robert Kruszewski Date: Mon, 4 Nov 2024 10:58:04 +0000 Subject: [PATCH 2/2] less --- .github/actions/cleanup/action.yml | 2 +- .github/workflows/ci.yml | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/actions/cleanup/action.yml b/.github/actions/cleanup/action.yml index 012c6be012..787a5a0a5d 100644 --- a/.github/actions/cleanup/action.yml +++ b/.github/actions/cleanup/action.yml @@ -21,4 +21,4 @@ runs: /usr/local/share/powershell \ /usr/share/dotnet \ /usr/share/swift - df -h / \ No newline at end of file + df -h / diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 17e6e6386d..3fce8e7885 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,9 +42,6 @@ jobs: - name: Rust Build (Default features) run: cargo build --all-targets - - name: Clean cargo to keep disk usage below limit - run: cargo clean - - name: Rust Build (All Features) run: cargo build --all-features --all-targets