Skip to content

Commit

Permalink
fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
aidaiym committed Jul 10, 2024
1 parent 0558120 commit ca83734
Showing 1 changed file with 19 additions and 5 deletions.
24 changes: 19 additions & 5 deletions .github/workflows/app_distribution.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
pull_request:
branches: [main]


jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -22,13 +21,28 @@ jobs:
with:
channel: 'stable'

- name: Build release
run: flutter build apk --debug
- run: ls build/app/outputs/flutter-apk
- run: flutter doctor

- run: dart pub global activate flutterfire_cli

- name: "Melos Install"
run: dart pub global activate melos

- name: "Melos bs"
run: melos bootstrap

- name: "Build apk"
run: melos build-apk

- name: "Build appbundle"
run: melos build-appbundle

- run: ls app/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
file: app/build/app/outputs/flutter-apk/app-debug.apk

0 comments on commit ca83734

Please sign in to comment.