Skip to content

Commit

Permalink
✨ feat(CI): build appbundle
Browse files Browse the repository at this point in the history
  • Loading branch information
WezSieTato committed Mar 2, 2025
1 parent 1563f46 commit cdf294e
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/build_android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
uses: subosito/flutter-action@v2
with:
channel: 'stable'
cache: true # Speed up the process
cache: true
- name: Get dependencies
run: flutter pub get
- name: Create googleservices file
Expand All @@ -27,10 +27,7 @@ jobs:
env:
DATA: ${{ secrets.GOOGLESERVICES }}
run: echo $DATA > /home/runner/work/pola-flutter/pola-flutter/android/app/google-services.json
- name: Build apk
run: flutter build apk --debug
# - uses: "finnp/create-file-action@master" this step doesn't work
# env:
# FILE_NAME: "/home/runner/work/pola-flutter/pola-flutter/android/app/google-services.json"
# FILE_BASE64: ${{ secrets.GOOGLESERVICES }}
# - run: flutter build apk --debug
- name: Build debug
run: flutter build apk --debug
- name: Build release
run: flutter build appbundle -t lib/main.dart --release

0 comments on commit cdf294e

Please sign in to comment.