Skip to content

Commit 3eb2cef

Browse files
authored
ci: fix Android SDK setup (#4356)
* ci: Android SDK: include platform-tools, exclude tools (e.g. emulator) * Add build-tools * Add platforms;android-34/35 * Update .github/actions/environment/action.yml
1 parent cfecfae commit 3eb2cef

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/actions/environment/action.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,11 @@ runs:
4646
java-version: '17'
4747

4848
- name: Setup Android SDK
49-
if: ${{ (runner.os != 'Linux' || runner.arch != 'ARM64') && !matrix.container }}
49+
if: ${{ !matrix.container }}
5050
uses: android-actions/setup-android@07976c6290703d34c16d382cb36445f98bb43b1f # v3.2.0
5151
with:
52+
# Exclude "tools" because the emulator is not needed (nor available for Windows/Linux ARM64)
53+
packages: platform-tools platforms;android-34 platforms;android-35 build-tools;36.0.0
5254
log-accepted-android-sdk-licenses: false
5355

5456
# Java 11 is needed by .NET Android

0 commit comments

Comments
 (0)