Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoAndo authored Feb 26, 2023
1 parent 6afda38 commit 62dd349
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 @@ -30,15 +30,16 @@ jobs:
- name: Create release.keystore
run: echo "${{ secrets.ANDROID_STORE_BASE64 }}" | base64 -d > android/release.keystore

- name: Create local.properties
- name: Create key.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 "ANDROID_STORE_PASSWORD=$ANDROID_STORE_PASSWORD" >> android/local.properties
echo "ANDROID_KEY_ALIAS=$ANDROID_KEY_ALIAS" >> android/local.properties
echo "ANDROID_KEY_PASSWORD=$ANDROID_KEY_PASSWORD" >> android/local.properties
echo "ANDROID_STORE_PASSWORD=$ANDROID_STORE_PASSWORD" >> android/key.properties
echo "ANDROID_KEY_ALIAS=$ANDROID_KEY_ALIAS" >> android/key.properties
echo "ANDROID_KEY_PASSWORD=$ANDROID_KEY_PASSWORD" >> android/key.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 62dd349

Please sign in to comment.