Skip to content

Commit

Permalink
👷 setup jdk and android-sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
niuhuan committed Apr 2, 2024
1 parent 9d8040b commit dfc9a10
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/Package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit dfc9a10

Please sign in to comment.