diff --git a/.github/workflows/publish-maven.yml b/.github/workflows/publish-maven.yml index 39862b1ec9..d40a5b2419 100644 --- a/.github/workflows/publish-maven.yml +++ b/.github/workflows/publish-maven.yml @@ -32,6 +32,11 @@ jobs: - name: Setup Android SDK uses: android-actions/setup-android@v3 + with: + # The action's default also installs the legacy `tools` package, which the + # SDK repository no longer serves, so sdkmanager exits 1 and the job stops + # before building. Only platform-tools is needed; Gradle fetches the rest. + packages: platform-tools - name: Cache Gradle packages uses: actions/cache@v4