[chore](workflow) Increase the build space for building third-party libraries (#22322)

Increase the build space for building third-party libraries
This commit is contained in:
Adonis Ling
2023-07-28 11:27:51 +08:00
committed by GitHub
parent 313d4fd257
commit 697745bb58

View File

@ -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