From 10931f31a0a0ae9a95e54a933e528c9b1f38911f Mon Sep 17 00:00:00 2001 From: stonegate Date: Sun, 11 Oct 2020 02:25:48 +0800 Subject: [PATCH] Update action config. --- .github/workflows/flutter_build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/flutter_build.yml b/.github/workflows/flutter_build.yml index 2b5a84c..5646488 100644 --- a/.github/workflows/flutter_build.yml +++ b/.github/workflows/flutter_build.yml @@ -16,7 +16,8 @@ jobs: channel: "stable" # 'dev', 'alpha', default to: 'stable' - run: flutter pub get - run: echo $ENCODED_KEYSTORE | base64 -di > android/app/keystore.jks - - run: echo 'export KEYSTORE=${HOME}/keystore.jks' >> ${HOME}/.profile + env: + ENCODED_KEYSTORE: ${{ secrets.ENCODED_KEYSTORE }} - run: dart tool/env.dart - run: flutter build apk --split-per-abi --obfuscate --split-debug-info=debug/ env: