From 66aa802765998feb6af7883e678cc835702d689a Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Wed, 4 Oct 2023 13:03:28 +0800 Subject: [PATCH 1/2] :art: Free disk space for docker image building GitHub Action --- .github/workflows/dockerimage.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/dockerimage.yml b/.github/workflows/dockerimage.yml index fe51bc72077..380bd678471 100644 --- a/.github/workflows/dockerimage.yml +++ b/.github/workflows/dockerimage.yml @@ -16,6 +16,21 @@ jobs: contents: read steps: + - 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: true + docker-images: true + swap-storage: true - name: Check out the repo uses: actions/checkout@v3 From 811bac942ddbdc48f29e587ea6ffb8f68ce2e4ac Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Wed, 4 Oct 2023 13:03:36 +0800 Subject: [PATCH 2/2] :art: Free disk space for docker image building GitHub Action --- .github/workflows/dockerimage.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/dockerimage.yml b/.github/workflows/dockerimage.yml index 380bd678471..dd654fac95c 100644 --- a/.github/workflows/dockerimage.yml +++ b/.github/workflows/dockerimage.yml @@ -31,6 +31,7 @@ jobs: large-packages: true docker-images: true swap-storage: true + - name: Check out the repo uses: actions/checkout@v3