From 600d5145b6d8fef472c2dd2dde695be92d748714 Mon Sep 17 00:00:00 2001 From: michalharakal Date: Sun, 20 Sep 2026 19:08:53 +0200 Subject: [PATCH] ci(publish): do not request the obsolete Android SDK tools package setup-android installs "tools platform-tools" by default. The SDK repository no longer serves the obsolete tools package, so sdkmanager exits 1 (Failed to find package tools) and the publish job dies in Set up Android SDK, before Gradle runs. The 0.56.0 tag hit this twice (run + re-run); nothing was uploaded. Request platform-tools only; the pinned NDK is installed by the next step. --- .github/workflows/publish.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b1fc3c0c..0784ff7e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -186,6 +186,11 @@ jobs: # gradle/libs.versions.toml `android-ndk`. - name: Set up Android SDK uses: android-actions/setup-android@40fd30fb8d7440372e1316f5d1809ec01dcd3699 # v4.0.1 + with: + # The action's default is `tools platform-tools`; the obsolete `tools` package is no longer + # served by the SDK repository (`Failed to find package 'tools'`), which failed the 0.56.0 + # publish before Gradle even started. Only the NDK (next step) is needed here. + packages: 'platform-tools' - name: Install pinned NDK run: |