conserve disk space in the actions runner

This commit is contained in:
ading2210 2024-04-26 21:36:03 -07:00
parent d7260639ca
commit b26505849c
1 changed files with 8 additions and 1 deletions

View File

@ -13,11 +13,18 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: 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 - name: download repo
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: run build - 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 - name: upload img
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4