From a5fc2f797b124b3f7ccc3c03d83962d288aad404 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Tue, 28 Oct 2025 13:24:01 +0100 Subject: [PATCH] .github: add free-disk-space action to generic x86_64 workflow Addresses disk space issues in GitHub Actions for generic x86_64 builds by removing unused tools (Android SDK, .NET, Docker images, etc.) before the build starts. This frees up ~30GB of space. Fixes #1210 Signed-off-by: Joachim Wiberg --- .github/workflows/generic-x86-build.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/generic-x86-build.yml b/.github/workflows/generic-x86-build.yml index 3a624f46..8dc06705 100644 --- a/.github/workflows/generic-x86-build.yml +++ b/.github/workflows/generic-x86-build.yml @@ -10,6 +10,17 @@ jobs: runs-on: ubuntu-latest steps: + - name: Free Disk Space + uses: jlumbroso/free-disk-space@main + with: + tool-cache: true + android: true + dotnet: true + haskell: true + large-packages: true + docker-images: true + swap-storage: false + - name: Install build dependencies run: | sudo apt-get update