Move screenshots to the top and sharpen the pitch #10
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 verification | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: android-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| verify: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - name: Check out source | |
| uses: actions/checkout@v7 | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: temurin | |
| java-version: 17 | |
| cache: gradle | |
| - name: Verify Gradle wrapper | |
| uses: gradle/actions/wrapper-validation@v4 | |
| - name: Run tests, lint, and debug build | |
| run: ./gradlew testDebugUnitTest lintDebug assembleDebug --no-daemon | |
| - name: Upload debug APK | |
| if: success() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: JavaTavern-debug | |
| path: app/build/outputs/apk/debug/app-debug.apk | |
| if-no-files-found: error |