From 12d66a070b7c2bc51b1909380cf5f8621b48bb07 Mon Sep 17 00:00:00 2001 From: Marco Nenciarini Date: Mon, 20 Jul 2026 18:06:19 +0200 Subject: [PATCH] ci: skip disk cleanup on larger runners The disk cleanup steps exist because the default ubuntu-latest runner has limited free space. Runners selected via CI_RUNNERS other than the default come with much larger disks, making the cleanup unnecessary overhead. Signed-off-by: Marco Nenciarini --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bba773c..8c03c3c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,6 +14,7 @@ jobs: contents: write steps: - name: Cleanup Disk + if: vars.CI_RUNNERS == '' || vars.CI_RUNNERS == 'ubuntu-latest' uses: jlumbroso/free-disk-space@v1.3.1 with: android: true @@ -23,6 +24,7 @@ jobs: large-packages: false swap-storage: false - name: Cleanup docker cache + if: vars.CI_RUNNERS == '' || vars.CI_RUNNERS == 'ubuntu-latest' run: | echo "-------------Disk info before cleanup----------------" df -h