Skip to content

Commit

Permalink
chore(twrp): switch ways to increase space, close #6
Browse files Browse the repository at this point in the history
  • Loading branch information
easterNday committed Jan 2, 2024
1 parent ee63023 commit 2b93542
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/twrp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,14 @@ jobs:
steps:
# Clean up the workspace and make room for compilation
- name: ♈ Cleanup
uses: rokibhasansagar/slimhub_actions@main
uses: easimon/maximize-build-space@master
with:
retain: "java_tools,android_sdk"
root-reserve-mb: 512
swap-size-mb: 12288
remove-dotnet: "true"
remove-haskell: "true"
remove-codeql: "true"
remove-docker-images: "true"

- name: ♉ Prepare the build environment
run: |
Expand All @@ -93,11 +98,6 @@ jobs:
run: |
git clone --recursive --depth=1 -j $(nproc) --branch ${{ env.DEVICE_BRANCH }} ${{ env.DEVICE_REPO }} ${{ env.DEVICE_LOCATION }}
- name: ♌ Set Swap Space
uses: pierotofy/set-swap-space@master
with:
swap-size-gb: 12

- name: ♍ Build it
working-directory: ${{ env.OF_LOCATION }}
continue-on-error: true
Expand Down

0 comments on commit 2b93542

Please sign in to comment.