mirror of
https://git.churchofmalware.org/leviathan/OVERWATCH
synced 2026-09-24 08:35:03 +00:00
ci: stop installing the removed 'tools' SDK package
setup-android defaults to packages "tools platform-tools", but Google has removed the obsolete `tools` package from the SDK repository, so sdkmanager exits 1 with "Failed to find package 'tools'". Pass packages: '' — AGP downloads the platform and build-tools it needs, and this step only has to provide sdkmanager and accept licenses. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RsfSpnwuxCkcXKkD9XH8SR
This commit is contained in:
co-authored by
Claude Opus 5
parent
97c37bcdf5
commit
fa75c624b1
@@ -21,11 +21,18 @@ jobs:
|
|||||||
distribution: temurin
|
distribution: temurin
|
||||||
java-version: '17'
|
java-version: '17'
|
||||||
|
|
||||||
# Pinned to v3 deliberately: v4 downloads a newer cmdline-tools than the
|
# packages: '' is load-bearing. The action's default is
|
||||||
# runner image ships and its license auto-accept then fails with
|
# "tools platform-tools", but Google has removed the obsolete `tools`
|
||||||
# "6 of 7 SDK package licenses not accepted" (broke 2026-09-17).
|
# package from the SDK repository, so sdkmanager exits 1 with
|
||||||
|
# "Failed to find package 'tools'" (broke 2026-09-17). Nothing needs
|
||||||
|
# installing here anyway — AGP downloads the platform and build-tools
|
||||||
|
# it wants, and this step's job is just to provide sdkmanager and
|
||||||
|
# accept licenses. Pinned to v3: v4 also insists on downloading its own
|
||||||
|
# cmdline-tools and then fails license auto-accept.
|
||||||
- name: Set up Android SDK
|
- name: Set up Android SDK
|
||||||
uses: android-actions/setup-android@v3
|
uses: android-actions/setup-android@v3
|
||||||
|
with:
|
||||||
|
packages: ''
|
||||||
|
|
||||||
- name: Build debug APK
|
- name: Build debug APK
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user