ci: update workflows to JDK 21 and standardize actions #1
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 Test APK | |
| on: | |
| pull_request: | |
| push: | |
| branches: [ '**' ] | |
| jobs: | |
| build: | |
| name: Build OSE Debug APK | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: true | |
| - name: set up JDK 21 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '21' | |
| distribution: 'temurin' | |
| cache: gradle | |
| - name: Build Debug APK | |
| run: ./gradlew assembleOseDebug | |
| - name: Upload APK | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: jtxboard-ose-debug-apk | |
| path: app/build/outputs/apk/ose/debug/*.apk |