From 6da501282ce43d4b8bd4749521a58683e58a34de Mon Sep 17 00:00:00 2001 From: Jacob Oursland Date: Thu, 17 Apr 2025 11:21:51 -0700 Subject: [PATCH] CI: reduce disk usage on Ubuntu weekly build. --- .github/workflows/sub_weeklyBuild.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/sub_weeklyBuild.yml b/.github/workflows/sub_weeklyBuild.yml index d611138c7b..3d965ac7f5 100644 --- a/.github/workflows/sub_weeklyBuild.yml +++ b/.github/workflows/sub_weeklyBuild.yml @@ -59,6 +59,15 @@ jobs: runs-on: ${{ matrix.os }} environment: weekly-build steps: + # prevent running out of disk space on Ubuntu runners. + - name: Maximize build space + if: runner.os == 'Linux' + uses: AdityaGarg8/remove-unwanted-software@v5 + with: + verbose: 'true' + remove-android: 'true' # (frees ~9 GB) + remove-cached-tools: 'true' # (frees ~8.3 GB) + - name: Set Platform Environment Variables shell: bash -l {0} env: