Merge pull request #1 from fmartinez09/develop #3
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: Flutter | |
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 Gradle | |
run: flutter build apk --debug | |
- run: ls build/app/outputs/flutter-apk | |
# - run: ls build/app/outputs/bundle/release | |
- 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: sparrow_team | |
file: build/app/outputs/flutter-apk/app-debug.apk |