Skip to content

Commit

Permalink
.github: add secrets to fix android build (#121)
Browse files Browse the repository at this point in the history
Signed-off-by: Werner Fleischer <70745309+wfleischer@users.noreply.github.com>
  • Loading branch information
wfleischer authored Nov 11, 2024
1 parent b34dbcc commit 85aeee3
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,16 @@ jobs:
with:
channel: 'stable'

- env:
ANDROID_STORE_KEY_PROPERTIES: |
${{ secrets.ANDROID_STORE_KEY_PROPERTIES }}
run: echo -ne "$ANDROID_STORE_KEY_PROPERTIES" > android/key.properties

- env:
GOOGLE_PLAYSTORE_JKS_BASE64: |
${{ secrets.GOOGLE_PLAYSTORE_JKS_BASE64 }}
run: echo -ne "$GOOGLE_PLAYSTORE_JKS_BASE64" | base64 --decode > android/GooglePlaystore.jks

- run: flutter --version
- run: flutter pub get
- run: flutter build apk
Expand Down

0 comments on commit 85aeee3

Please sign in to comment.