mirror of
https://github.com/Dasemu/web-imposter-game.git
synced 2026-11-26 07:16:24 +00:00
fix: replace deprecated Android SDK 'tools' package in build workflow
android-actions/setup-android@v3 defaults to installing the legacy 'tools platform-tools' packages; Google no longer serves 'tools', so sdkmanager exits with "Failed to find package 'tools'" and the build fails. Bump to @v4 and pin packages to 'platform-tools' explicitly in both the Gitea workflow and its GitHub mirror. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
5c3611f3a4
commit
9a062c2443
2 files changed
+6
-2
No files matched your search
@@ -43,7 +43,9 @@ jobs:
|
||||
java-version: '21'
|
||||
|
||||
- name: Setup Android SDK
|
||||
uses: android-actions/setup-android@v3
|
||||
uses: android-actions/setup-android@v4
|
||||
with:
|
||||
packages: 'platform-tools'
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
@@ -29,7 +29,9 @@ jobs:
|
||||
java-version: '21'
|
||||
|
||||
- name: Setup Android SDK
|
||||
uses: android-actions/setup-android@v3
|
||||
uses: android-actions/setup-android@v4
|
||||
with:
|
||||
packages: 'platform-tools'
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
Reference in new issue
Block a user