From a91081b6003266531288aee224b9669c046fec5e Mon Sep 17 00:00:00 2001 From: Paul Pan Date: Wed, 13 Mar 2024 20:48:36 +0800 Subject: [PATCH] fix: reserve more spaces on GitHub Action runner --- .github/workflows/container.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/container.yml b/.github/workflows/container.yml index 60a8cde..969db98 100644 --- a/.github/workflows/container.yml +++ b/.github/workflows/container.yml @@ -4,6 +4,15 @@ jobs: image: runs-on: ubuntu-latest steps: + - name: Maximize build space + uses: easimon/maximize-build-space@master + with: + root-reserve-mb: 512 + swap-size-mb: 1024 + remove-dotnet: 'true' + remove-android: 'true' + remove-haskell: 'true' + remove-codeql: 'true' - uses: actions/checkout@v4 # reference: https://github.com/containers/podman/discussions/17868 - name: Tar as root