From 85aeee330afd33170874df8770380d4c293b42de Mon Sep 17 00:00:00 2001 From: Werner Fleischer <70745309+wfleischer@users.noreply.github.com> Date: Mon, 11 Nov 2024 22:24:38 +0100 Subject: [PATCH] .github: add secrets to fix android build (#121) Signed-off-by: Werner Fleischer <70745309+wfleischer@users.noreply.github.com> --- .github/workflows/build.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3bd1b3a..c485f43 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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