add get it on gplay to readme #115
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-apk | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: checkout sources | |
| uses: actions/checkout@v4 | |
| - name: setup java | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: '21' | |
| distribution: 'temurin' | |
| - name: setup gradle | |
| uses: gradle/actions/setup-gradle@v4 | |
| - name: build debug apk | |
| run: ./gradlew assembleDebug --stacktrace | |
| - name: build release apk | |
| run: ./gradlew assembleRelease --stacktrace | |
| - name: upload debug apk | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: app-debug | |
| path: | | |
| app/build/outputs/apk/foss/debug/*.apk | |
| app/build/outputs/apk/gplay/debug/*.apk | |
| - name: upload release apk | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: app-release | |
| path: | | |
| app/build/outputs/apk/foss/release/*.apk | |
| app/build/outputs/apk/gplay/release/*.apk |