mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
[ACTIONS] Free hd space on action runner at first (#46)
* Maximize build space Maximize build space for `build-image-uclibc` and `build-image-musl` * Pin `maximize-build-space` to stable release. Use `v8` https://github.com/easimon/maximize-build-space/releases/tag/v8
This commit is contained in:
20
.github/workflows/build.yml
vendored
20
.github/workflows/build.yml
vendored
@@ -15,6 +15,16 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
FORCE_UNSAFE_CONFIGURE: 1
|
FORCE_UNSAFE_CONFIGURE: 1
|
||||||
steps:
|
steps:
|
||||||
|
- name: Maximize build space
|
||||||
|
uses: easimon/maximize-build-space@v8
|
||||||
|
with:
|
||||||
|
overprovision-lvm: true
|
||||||
|
remove-dotnet: true
|
||||||
|
remove-android: true
|
||||||
|
remove-haskell: true
|
||||||
|
remove-codeql: true
|
||||||
|
remove-docker-images: true
|
||||||
|
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- if: inputs.submodule
|
- if: inputs.submodule
|
||||||
run: git submodule update --init --depth 1 -- ${{ inputs.submodule }}
|
run: git submodule update --init --depth 1 -- ${{ inputs.submodule }}
|
||||||
@@ -75,6 +85,16 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
FORCE_UNSAFE_CONFIGURE: 1
|
FORCE_UNSAFE_CONFIGURE: 1
|
||||||
steps:
|
steps:
|
||||||
|
- name: Maximize build space
|
||||||
|
uses: easimon/maximize-build-space@v8
|
||||||
|
with:
|
||||||
|
overprovision-lvm: true
|
||||||
|
remove-dotnet: true
|
||||||
|
remove-android: true
|
||||||
|
remove-haskell: true
|
||||||
|
remove-codeql: true
|
||||||
|
remove-docker-images: true
|
||||||
|
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- if: inputs.submodule
|
- if: inputs.submodule
|
||||||
run: git submodule update --init --depth 1 -- ${{ inputs.submodule }}
|
run: git submodule update --init --depth 1 -- ${{ inputs.submodule }}
|
||||||
|
|||||||
Reference in New Issue
Block a user