From 697745bb58d99a40fda05ea8228a146148890448 Mon Sep 17 00:00:00 2001 From: Adonis Ling Date: Fri, 28 Jul 2023 11:27:51 +0800 Subject: [PATCH] [chore](workflow) Increase the build space for building third-party libraries (#22322) Increase the build space for building third-party libraries --- .github/workflows/build-thirdparty.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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