feat(ahbg): Google Play pivot — API 36, Play-native AAB, Play runbook… #9
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: ahbg-android | |
| on: | |
| pull_request: | |
| paths: | |
| - "ahbg/android/**" | |
| - "ahbg/presentation/**" | |
| - ".github/workflows/ahbg-android.yml" | |
| push: | |
| branches: [main] | |
| paths: | |
| - "ahbg/android/**" | |
| - "ahbg/presentation/**" | |
| - ".github/workflows/ahbg-android.yml" | |
| permissions: | |
| contents: read | |
| jobs: | |
| android-build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| distribution: temurin | |
| java-version: "17" | |
| - uses: android-actions/setup-android@v3 | |
| - uses: gradle/actions/setup-gradle@v4 | |
| with: | |
| gradle-version: "8.11.1" | |
| - name: Build debug APK | |
| working-directory: ahbg/android | |
| run: gradle assembleDebug --no-daemon | |
| - name: Build Play-native release AAB (unsigned when no keystore is provisioned) | |
| working-directory: ahbg/android | |
| run: gradle bundleRelease --no-daemon | |
| - name: Presentation asset drift check | |
| working-directory: ahbg/android | |
| run: | | |
| ./sync_presentation.sh | |
| git diff --exit-code -- app/src/main/assets/board.html app/src/main/assets/board.js app/src/main/assets/board.css app/src/main/assets/sample_snapshot.json app/src/main/assets/PRESENTATION.sha256 |