ci: install checksum-pinned Android tools with native Windows extraction
This commit is contained in:
1 parent
ebdfeddd9a
commit
71dd92a4c2
2 files changed
+36
-10
No files matched your search
@@ -19,16 +19,8 @@ jobs:
|
||||
distribution: temurin
|
||||
java-version: '21'
|
||||
- name: Set up Android SDK
|
||||
# v4's Windows extraction invokes Expand-Archive without a .zip suffix.
|
||||
# v3 extracts correctly on this runner; pin modern tools explicitly.
|
||||
uses: android-actions/setup-android@v3
|
||||
env:
|
||||
ANDROID_HOME: ${{ runner.temp }}/android-sdk
|
||||
ANDROID_SDK_ROOT: ${{ runner.temp }}/android-sdk
|
||||
with:
|
||||
cmdline-tools-version: '15859902'
|
||||
packages: 'platform-tools platforms;android-37.0 build-tools;37.0.0'
|
||||
log-accepted-android-sdk-licenses: false
|
||||
shell: powershell
|
||||
run: ./scripts/setup-android-ci.ps1
|
||||
- name: Test and build exact commit
|
||||
shell: powershell
|
||||
run: |
|
||||
|
||||
Reference in new issue
Block a user