Update compile-check.yml #6
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: | |
buildIPA: | |
runs-on: macos-14 | |
name: build IPA | |
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; cs ios; pod install | |
- name: build | |
run: cd ios && xcodebuild -scheme example -workspace example.xcworkspace -configuration Release clean archive -archivePath "build/example.xcarchive" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO | |
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 |