Skip to content

Commit 7e52e3d

Browse files
committed
fix(ci): use actions to setup android sdk
1 parent 4f71c4b commit 7e52e3d

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

.github/workflows/platform-integration-android.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,15 @@ jobs:
3939
use-dotnet: true
4040
include-templates: true
4141

42+
- name: Setup Android SDK
43+
uses: android-actions/setup-android@v4
44+
with:
45+
packages: >-
46+
platform-tools
47+
platforms;android-35
48+
platforms;android-36
49+
build-tools;36.0.0
50+
4251
- name: Enable Corepack
4352
run: mise x -- corepack enable pnpm
4453

@@ -57,11 +66,6 @@ jobs:
5766
- name: Install pnpm dependencies
5867
run: mise x -- corepack pnpm install --frozen-lockfile
5968

60-
- name: Install Android SDK platforms
61-
run: |
62-
yes | sdkmanager --licenses >/dev/null
63-
sdkmanager "platforms;android-35" "platforms;android-36" "build-tools;36.0.0" "platform-tools"
64-
6569
- name: Build integration APK
6670
run: mise x -- bash -c 'GODOT_BIN="${GODOT:-godot}" scripts/build_integration_android.sh'
6771

0 commit comments

Comments
 (0)