From 1c1f05f84b2cd6bffd3cffea03061aa1bd2b3c2f Mon Sep 17 00:00:00 2001 From: chaosi-zju Date: Sun, 8 Oct 2023 02:04:14 +0800 Subject: [PATCH] clean ci runner disk space Signed-off-by: chaosi-zju --- .github/workflows/ci.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c211fbc407ad..9ad519bf55da 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -116,6 +116,19 @@ jobs: # Please remember to update the CI Schedule Workflow when we add a new version. k8s: [ v1.25.0, v1.26.0, v1.27.3 ] 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 uses: actions/checkout@v3 with: