diff --git a/.github/workflows/build-thirdparty.yml b/.github/workflows/build-thirdparty.yml index 510643a3a9..978bed3a51 100644 --- a/.github/workflows/build-thirdparty.yml +++ b/.github/workflows/build-thirdparty.yml @@ -51,6 +51,21 @@ jobs: if: ${{ needs.changes.outputs.thirdparty_changes == 'true' }} runs-on: ubuntu-22.04 steps: + - name: Checkout easimon/maximize-build-space + run: | + git clone -b v7 https://github.com/easimon/maximize-build-space + + - name: Maximize build space + uses: ./maximize-build-space + with: + root-reserve-mb: 4096 + swap-size-mb: 8192 + remove-dotnet: 'true' + remove-android: 'true' + remove-haskell: 'true' + remove-codeql: 'true' + remove-docker-images: 'true' + - name: Checkout ${{ github.ref }} uses: actions/checkout@v3