Skip to content

Commit

Permalink
Merge pull request #48 from LeoAndo/develop
Browse files Browse the repository at this point in the history
Dev -> Main
  • Loading branch information
LeoAndo authored Feb 26, 2023
2 parents b8e08d6 + db0f73e commit b3f37eb
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,18 @@ jobs:
run: flutter pub run build_runner build --delete-conflicting-outputs

- name: Create release.keystore
run: echo "${{ secrets.ANDROID_STORE_BASE64 }}" | base64 -d > release.keystore
run: echo "${{ secrets.ANDROID_STORE_BASE64 }}" | base64 -d > android/release.keystore

- name: Create local.properties
env:
ANDROID_STORE_PASSWORD: ${{ secrets.ANDROID_STORE_PASSWORD }}
ANDROID_KEY_ALIAS: ${{ secrets.ANDROID_KEY_ALIAS }}
ANDROID_KEY_PASSWORD: ${{ secrets.ANDROID_KEY_PASSWORD }}
run: |
echo "flutter.androidStorePassword=$ANDROID_STORE_PASSWORD" >> local.properties
echo "flutter.androidKeyAlias=$ANDROID_KEY_ALIAS" >> local.properties
echo "flutter.androidKeyPassword=$ANDROID_KEY_PASSWORD" >> local.properties
echo "flutter.androidStorePassword=$ANDROID_STORE_PASSWORD" >> android/local.properties
echo "flutter.androidKeyAlias=$ANDROID_KEY_ALIAS" >> android/local.properties
echo "flutter.androidKeyPassword=$ANDROID_KEY_PASSWORD" >> android/local.properties
- name: Release Build tasks (apk and aab)
run: |
flutter build apk --release --dart-define-from-file=dart_define/production.json
Expand Down

0 comments on commit b3f37eb

Please sign in to comment.