Skip to content

Integrate Firebase App Distribution with Github Actions #1

Integrate Firebase App Distribution with Github Actions

Integrate Firebase App Distribution with Github Actions #1

name: Build & upload to Firebase App Distribution
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: set up JDK 11
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
- uses: subosito/flutter-action@v1
with:
channel: 'stable'
- name: Build release
run: flutter build apk --debug
- run: ls build/app/outputs/flutter-apk
- name: Upload artifact to Firebase App Distribution
uses: wzieba/Firebase-Distribution-Github-Action@v1
with:
appId: ${{secrets.APP_ID}}
serviceCredentialsFileContent: ${{secrets.CREDENTIAL_FILE_CONTENT}}
groups: my_quran_testers
file: build/app/outputs/flutter-apk/app-debug.apk