👷 setup jdk and android-sdk

This commit is contained in:
niuhuan 2024-04-02 14:45:17 +08:00
parent 9d8040b520
commit dfc9a1059f
1 changed files with 15 additions and 0 deletions

View File

@ -82,6 +82,21 @@ jobs:
name: Build (ios)
run: |
sh scripts/build-ipa.sh
- if: steps.need_build.outputs.need_build == 'true' && matrix.config.target == 'android'
name: Setup java (Android)
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- if: steps.need_build.outputs.need_build == 'true' && matrix.config.target == 'android'
name: Setup android tools (Android)
uses: android-actions/setup-android@v3
with:
packages: |
platform-tools
platforms;android-32
build-tools;30.0.2
ndk;23.1.7779620
- if: steps.need_build.outputs.need_build == 'true' && matrix.config.target == 'android'
name: Build (android-arm64)
env: