Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
add root space to 6GB
  • Loading branch information
smallprogram committed Sep 18, 2023
1 parent 1d18272 commit 6b11209
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/Build-OpenWrt_Multi-Platform(V2).yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ jobs:
- name: Maximize Build Space
uses: easimon/maximize-build-space@master
with:
root-reserve-mb: 2048
root-reserve-mb: 6144
swap-size-mb: 1024
remove-dotnet: 'true'
remove-android: 'true'
Expand Down Expand Up @@ -362,7 +362,7 @@ jobs:
- name: Maximize Build Space
uses: easimon/maximize-build-space@master
with:
root-reserve-mb: 2048
root-reserve-mb: 6144
swap-size-mb: 1024
remove-dotnet: 'true'
remove-android: 'true'
Expand Down Expand Up @@ -480,16 +480,16 @@ jobs:
retention-days: 5


# - name: Remove Unuselesss Files
# id: removeunuselessfiles
# if: steps.compile.outputs.status == 'success'
# run: |
# df -hT
# rm -rf $GITHUB_WORKSPACE/openwrt/build_dir
# rm -rf $GITHUB_WORKSPACE/openwrt/dl
# rm -rf $GITHUB_WORKSPACE/openwrt/staging_dir
# rm -rf $GITHUB_WORKSPACE/openwrt/toolchain
# rm -rf $GITHUB_WORKSPACE/openwrt/tools
- name: Remove Unuselesss Files
id: removeunuselessfiles
if: steps.compile.outputs.status == 'success'
run: |
df -hT
rm -rf $GITHUB_WORKSPACE/openwrt/build_dir
rm -rf $GITHUB_WORKSPACE/openwrt/dl
rm -rf $GITHUB_WORKSPACE/openwrt/staging_dir
rm -rf $GITHUB_WORKSPACE/openwrt/toolchain
rm -rf $GITHUB_WORKSPACE/openwrt/tools
- name: Check Space Usage
if: (!cancelled())
Expand Down

0 comments on commit 6b11209

Please sign in to comment.