Skip to content

Commit

Permalink
chore(workflow): fix keystore path
Browse files Browse the repository at this point in the history
  • Loading branch information
mumu-lhl committed Aug 16, 2024
1 parent 87975a2 commit 3fddd9b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/flutter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,16 @@ jobs:
- run: flutter pub get
- run: dart format --output=none --set-exit-if-changed .
- run: flutter analyze


- name: Decode Keystore
run: |
echo "${{ secrets.KEYSTORE_BASE64 }}" | base64 --decode > android/app/keystore.jks
- name: Create key.properties
run: |
echo "${{ secrets.KEY_PROPERTIES }}" > android/key.properties
- run: flutter build apk
- run: flutter build appbundle

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ jobs:

- name: Decode Keystore
run: |
echo "${{ secrets.KEYSTORE_BASE64 }}" | base64 --decode > android/keystore.jks
echo "${{ secrets.KEYSTORE_BASE64 }}" | base64 --decode > android/app/keystore.jks
- name: Create key.properties
run: |
echo "${{ secrets.KEY_PROPERTIES }}" > android/app/key.properties
echo "${{ secrets.KEY_PROPERTIES }}" > android/key.properties
- run: flutter pub get
- run: flutter build apk --split-per-abi
Expand Down

0 comments on commit 3fddd9b

Please sign in to comment.