From c4ed9c990a58ae89cbaf2b003645d180d66d6276 Mon Sep 17 00:00:00 2001 From: Bouke Sybren Haarsma Date: Sun, 11 Feb 2024 19:35:46 +0100 Subject: [PATCH] maximize build space --- .github/workflows/build-system-image.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/build-system-image.yml b/.github/workflows/build-system-image.yml index bf8b48dcb..5ac31b7f7 100644 --- a/.github/workflows/build-system-image.yml +++ b/.github/workflows/build-system-image.yml @@ -22,6 +22,17 @@ jobs: display_version: ${{ steps.build_image.outputs.display_version }} image_filename: ${{ steps.build_image.outputs.image_filename }} steps: + - name: Maximize build space + run: | + df -h + rm -rf /usr-host/share/dotnet + rm -rf /usr-host/share/swift + rm -rf /usr-host/share/java + rm -rf /usr-host/local/lib/android + rm -rf /opt-host/ghc + rm -rf /opt-host/hostedtoolcache + rm -rf /opt-host/az + df -h - uses: actions/checkout@v3 - name: Extract metadata (tags, labels) for Docker id: meta