add required oracle distribution for ci/cd #4
This file contains 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: Upload to Firebase App Distribution | |
on: | |
push: | |
branches: | |
- dev | |
jobs: | |
build: | |
name: Build Politer AI Android mobile application | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v2 | |
with: | |
java-version: '17' | |
distribution: 'oracle' | |
- name: Generate Release APK | |
run: ./gradlew assembleRelease | |
- name: upload artifact to Firebase App Distribution | |
uses: wzieba/Firebase-Distribution-Github-Action@v1 | |
with: | |
appId: ${{secrets.FIREBASE_ANDROID_APP_ID}} | |
token: ${{secrets.FIREBASE_TOKEN}} | |
groups: testers | |
releaseNotes: "Politer AI Android Application Build" | |
file: composeApp/build/outputs/apk/release/composeApp-release-unsigned.apk | |