ci(linux): free additional space on runner (#1480)
This commit is contained in:
parent
3b2a098640
commit
79085f0d5c
1 changed files with 20 additions and 7 deletions
27
.github/workflows/CI.yml
vendored
27
.github/workflows/CI.yml
vendored
|
|
@ -157,6 +157,16 @@ jobs:
|
||||||
matrix: ${{fromJson(needs.setup_flatpak_matrix.outputs.matrix)}}
|
matrix: ${{fromJson(needs.setup_flatpak_matrix.outputs.matrix)}}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: Maximize build space
|
||||||
|
uses: easimon/maximize-build-space@v7
|
||||||
|
with:
|
||||||
|
root-reserve-mb: 10240
|
||||||
|
remove-dotnet: 'true'
|
||||||
|
remove-android: 'true'
|
||||||
|
remove-haskell: 'true'
|
||||||
|
remove-codeql: 'true'
|
||||||
|
remove-docker-images: 'false'
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
|
@ -178,13 +188,6 @@ jobs:
|
||||||
org.freedesktop.Sdk.Extension.node18/${{ matrix.arch }}/${PLATFORM_VERSION} \
|
org.freedesktop.Sdk.Extension.node18/${{ matrix.arch }}/${PLATFORM_VERSION} \
|
||||||
"
|
"
|
||||||
|
|
||||||
- name: Create Additional Disk Space
|
|
||||||
run: |
|
|
||||||
df -h
|
|
||||||
sudo rm -rf /usr/share/dotnet
|
|
||||||
sudo docker rmi $(docker images -a -q)
|
|
||||||
df -h
|
|
||||||
|
|
||||||
- name: Cache Flatpak build
|
- name: Cache Flatpak build
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
|
|
@ -273,6 +276,16 @@ jobs:
|
||||||
dist: 20.04
|
dist: 20.04
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: Maximize build space
|
||||||
|
uses: easimon/maximize-build-space@v7
|
||||||
|
with:
|
||||||
|
root-reserve-mb: 20480
|
||||||
|
remove-dotnet: 'true'
|
||||||
|
remove-android: 'true'
|
||||||
|
remove-haskell: 'true'
|
||||||
|
remove-codeql: 'true'
|
||||||
|
remove-docker-images: 'false'
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue