From 9fc4d332c2ad8c29b480e03991c269b2650da5d4 Mon Sep 17 00:00:00 2001 From: Marthinus Ettienne van Zyl - u19012366 Date: Wed, 25 Oct 2023 07:22:57 +0200 Subject: [PATCH] Update GitHub Actions to decode keystore --- .github/workflows/main2.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/main2.yml b/.github/workflows/main2.yml index d5b541c9..f438854f 100644 --- a/.github/workflows/main2.yml +++ b/.github/workflows/main2.yml @@ -53,6 +53,12 @@ jobs: run: flutter test working-directory: client + - name: Decode keystore file + env: + KEYSTORE: ${{ secrets.KEYSTORE }} + run: | + echo $KEYSTORE | base64 --decode > /home/runner/work/Koja/Koja/client/android/app/mykey.jks + - name: Build Flutter app run: flutter build apk working-directory: client