From b26505849cbc0f54f5405ebab425eb1fb97b5efc Mon Sep 17 00:00:00 2001 From: ading2210 Date: Fri, 26 Apr 2024 21:36:03 -0700 Subject: [PATCH] conserve disk space in the actions runner --- .github/workflows/build-image.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-image.yaml b/.github/workflows/build-image.yaml index 78028d7..0bb6ab5 100644 --- a/.github/workflows/build-image.yaml +++ b/.github/workflows/build-image.yaml @@ -13,11 +13,18 @@ jobs: runs-on: ubuntu-latest steps: + - name: Maximize build space + uses: easimon/maximize-build-space@master + with: + root-reserve-mb: 1024 + swap-size-mb: 1024 + remove-dotnet: 'true' + - name: download repo uses: actions/checkout@v4 - name: run build - run: sudo DEBUG=1 ./build_complete.sh ${{ matrix.board }} compress_img=1 quiet=1 + run: sudo DEBUG=1 ./build_complete.sh ${{ matrix.board }} quiet=1 - name: upload img uses: actions/upload-artifact@v4