From e0299c688c28402f7650d60ecba932b52e718759 Mon Sep 17 00:00:00 2001 From: Jamil Date: Wed, 18 Jun 2025 15:40:16 -0700 Subject: [PATCH] fix(ci): don't install unused packages for android builds (#9576) The runner doing the Android builds is running out of disk space. Since we don't use the emulator, adb, or other tools for the build, we can save some space by not installing these. Related: https://github.com/firezone/firezone/actions/runs/15742063800 --- .github/actions/setup-android/action.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/actions/setup-android/action.yml b/.github/actions/setup-android/action.yml index d4eda6ad3..7eff0912a 100644 --- a/.github/actions/setup-android/action.yml +++ b/.github/actions/setup-android/action.yml @@ -16,6 +16,10 @@ runs: - uses: gradle/actions/setup-gradle@8379f6a1328ee0e06e2bb424dadb7b159856a326 # v4.4.0 - uses: android-actions/setup-android@9fc6c4e9069bf8d3d10b2204b1fb8f6ef7065407 # v3.2.2 + with: + # By default tools and platform-tools are installed, which we don't use currently + # These consume lots of disk space + packages: "" - name: Install NDK run: sdkmanager "ndk;28.1.13356709" # Must match `kotlin/android/app/build.gradle.kts`