Skip to content

Commit

Permalink
Merge pull request #51 from LeoAndo/develop
Browse files Browse the repository at this point in the history
MAIN
  • Loading branch information
LeoAndo authored Feb 26, 2023
2 parents 6515c46 + 915bdd0 commit 02d74a0
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,17 @@ jobs:
echo "ANDROID_KEY_ALIAS=$ANDROID_KEY_ALIAS" >> android/key.properties
echo "ANDROID_KEY_PASSWORD=$ANDROID_KEY_PASSWORD" >> android/key.properties
- name: Create production.json
id: create-json
uses: jsdaniell/[email protected]
with:
name: "production.json"
json: ${{ secrets.PRODUCTIONJSON }}

- name: Release Build tasks (apk and aab)
run: |
flutter build apk --release --dart-define-from-file=dart_define/production.json
flutter build appbundle --release --dart-define-from-file=dart_define/production.json
flutter build apk --release --dart-define-from-file=production.json
flutter build appbundle --release --dart-define-from-file=production.json
# https://github.com/softprops/action-gh-release#%EF%B8%8F-uploading-release-assets
- name: Release
Expand Down

0 comments on commit 02d74a0

Please sign in to comment.