ci(publish): do not request the obsolete Android SDK 'tools' package - #1293
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The 0.56.0 publish failed (run 35524370364, and again on re-run) in Set up Android SDK, before Gradle started — nothing was uploaded to Maven Central:
android-actions/setup-android(same pinned v4.0.1 that published 0.54.0 on 2026-09-06) installstools platform-toolsby default; the obsoletetoolspackage is no longer served by the SDK repository. Fix:packages: 'platform-tools'. The pinned NDK is installed by the following step and is all the publish needs.publish.ymlruns only on tag pushes and uses the workflow file at the tagged commit, so after merging this the0.56.0tag has to point at a commit that contains it (see PR discussion).