clean ci runner disk space
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
This commit is contained in:
parent
70e2e1ca71
commit
0509acbf71
|
@ -26,6 +26,19 @@ jobs:
|
||||||
go-version: 1.20.5
|
go-version: 1.20.5
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
# Free up disk space on Ubuntu
|
||||||
|
- name: Free Disk Space (Ubuntu)
|
||||||
|
uses: jlumbroso/free-disk-space@main
|
||||||
|
with:
|
||||||
|
# this might remove tools that are actually needed, if set to "true" but frees about 6 GB
|
||||||
|
tool-cache: false
|
||||||
|
# all of these default to true, but feel free to set to "false" if necessary for your workflow
|
||||||
|
android: true
|
||||||
|
dotnet: true
|
||||||
|
haskell: true
|
||||||
|
large-packages: false
|
||||||
|
docker-images: false
|
||||||
|
swap-storage: false
|
||||||
- name: checkout code
|
- name: checkout code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -13,6 +13,19 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
k8s: [ v1.21.10, v1.22.7, v1.23.4, v1.24.2, v1.25.0, v1.26.0, v1.27.3, v1.28.0 ]
|
k8s: [ v1.21.10, v1.22.7, v1.23.4, v1.24.2, v1.25.0, v1.26.0, v1.27.3, v1.28.0 ]
|
||||||
steps:
|
steps:
|
||||||
|
# Free up disk space on Ubuntu
|
||||||
|
- name: Free Disk Space (Ubuntu)
|
||||||
|
uses: jlumbroso/free-disk-space@main
|
||||||
|
with:
|
||||||
|
# this might remove tools that are actually needed, if set to "true" but frees about 6 GB
|
||||||
|
tool-cache: false
|
||||||
|
# all of these default to true, but feel free to set to "false" if necessary for your workflow
|
||||||
|
android: true
|
||||||
|
dotnet: true
|
||||||
|
haskell: true
|
||||||
|
large-packages: false
|
||||||
|
docker-images: false
|
||||||
|
swap-storage: false
|
||||||
- name: checkout code
|
- name: checkout code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in New Issue