Claude/review repo suggestions f8 qky #1006
Workflow file for this run
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: Build Android APK | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: [ "main" ] | |
| paths: | |
| - 'Android/**' | |
| pull_request: | |
| branches: [ "main" ] | |
| paths: | |
| - 'Android/**' | |
| jobs: | |
| build_apk: | |
| name: Build Android APK | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: ./Android/src | |
| steps: | |
| - name: Checkout the source code | |
| uses: actions/checkout@v3 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '21' | |
| - name: Run unit tests | |
| run: ./gradlew testDebugUnitTest | |
| - name: Build | |
| run: ./gradlew assembleRelease | |
| - name: Upload unit test results | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: unit-test-results | |
| path: Android/src/app/build/reports/tests/testDebugUnitTest/ |