From ce3b431282a795a40046785519e1ea529b5f33d7 Mon Sep 17 00:00:00 2001 From: yodem Date: Sun, 19 Oct 2025 12:02:34 +0300 Subject: [PATCH] ci: add step to free up disk space in GitHub Actions workflow - Add jlumbroso/free-disk-space action to remove unnecessary packages - Frees up ~20-30GB by removing tool cache, Android SDK, .NET, Haskell, and large packages - Resolves 'No space left on device' error when building CUDA Docker images - Keeps Docker images and swap storage for build process --- .github/workflows/app.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/app.yaml b/.github/workflows/app.yaml index f6f4cf7..a6ca8aa 100644 --- a/.github/workflows/app.yaml +++ b/.github/workflows/app.yaml @@ -66,6 +66,17 @@ jobs: - uses: actions/checkout@v4 with: ref: ${{ needs.release.output.version }} + - name: Free up disk space + uses: jlumbroso/free-disk-space@main + with: + # Remove large packages that aren't needed for Docker builds + tool-cache: true + android: true + dotnet: true + haskell: true + large-packages: true + docker-images: false + swap-storage: false - name: Set up QEMU uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx