From 2848fc0e7fe5d2797841c50976e0eb6a71d78b58 Mon Sep 17 00:00:00 2001 From: haixuantao Date: Fri, 14 Mar 2025 18:05:26 +0100 Subject: [PATCH] Freeing up space on node hub ci/cd --- .github/workflows/node-hub-ci-cd.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/node-hub-ci-cd.yml b/.github/workflows/node-hub-ci-cd.yml index 39f901ec..d1236059 100644 --- a/.github/workflows/node-hub-ci-cd.yml +++ b/.github/workflows/node-hub-ci-cd.yml @@ -77,6 +77,23 @@ jobs: toolchain: stable override: true + - name: Free Disk Space (Ubuntu) + uses: jlumbroso/free-disk-space@main + if: matrix.folder == 'dora-phi4' || matrix.folder == 'dora-magma' + 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: true + swap-storage: false + - name: Run Linting and Tests ## Run Linting and testing only on Mac for release workflows. if: runner.os == 'Linux' || github.event_name == 'workflow_dispatch' || (github.event_name == 'release' && startsWith(github.ref, 'refs/tags/'))