APM RNTP compile check #3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Android compile check | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- 'APM' | |
jobs: | |
buildAAB: | |
runs-on: ubuntu-latest | |
name: build AAB | |
permissions: | |
contents: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: set up JDK 18 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 18 | |
distribution: temurin | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
- name: Setup Yarn | |
uses: threeal/[email protected] | |
- name: Install dependencies | |
run: yarn; yarn build; cd example; yarn | |
- name: gradle build AAB | |
run: cd example/android && chmod +x gradlew && ./gradlew bundleRelease |