From 1bdd9572117044c06392cf5b5eef4c5078f6d8cf Mon Sep 17 00:00:00 2001 From: Robert Detjens Date: Tue, 14 Jan 2025 20:07:27 -0800 Subject: [PATCH] use hacky action to free up disk for large arch image Signed-off-by: Robert Detjens --- .github/workflows/build.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3664dc1..c640483 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,6 +23,16 @@ jobs: - ubuntu steps: + # the arch container is really big now... + - name: Maximize build space + if: ${{ !env.ACT }} + uses: easimon/maximize-build-space@master + with: + root-reserve-mb: 512 + swap-size-mb: 1024 + remove-dotnet: 'true' + remove-haskell: 'true' + - name: Checkout repository uses: actions/checkout@v4 @@ -67,6 +77,16 @@ jobs: - vr steps: + # the arch container is really big now... + - name: Maximize build space + if: ${{ !env.ACT }} + uses: easimon/maximize-build-space@master + with: + root-reserve-mb: 512 + swap-size-mb: 1024 + remove-dotnet: 'true' + remove-haskell: 'true' + - name: Checkout repository uses: actions/checkout@v4