Optimize runner resource usage

This hotfix provides the ability to build for Android 11
This commit is contained in:
Bodya-Kolibass 2022-05-28 21:45:48 +03:00 committed by GitHub
parent c1b0634982
commit aa4cdb37cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -80,15 +80,20 @@ jobs:
run: |
PATH=~/bin:$PATH
cd workspace
repo sync -j$(nproc --all) -f --force-sync
ls -al
repo sync -j$(nproc --all) -c --no-clone-bundle --no-tags
rm -rf .repo
- name: Clone device tree
run: |
PATH=~/bin:$PATH
cd ${{ steps.pwd.outputs.pwd }}
git clone ${{ github.event.inputs.DEVICE_TREE_URL }} -b ${{ github.event.inputs.DEVICE_TREE_BRANCH }} ./${{ github.event.inputs.DEVICE_PATH }}
- name: Set Swap Space
uses: pierotofy/set-swap-space@master
with:
swap-size-gb: 10
- name: Building recovery
run: |
PATH=~/bin:$PATH