Browse Source

Added Android build singing info

Alex Tran 3 years ago
parent
commit
489a34b10c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      .github/workflows/build_apk.yml

+ 2 - 2
.github/workflows/build_apk.yml

@@ -28,9 +28,9 @@ jobs:
       - name: Decode Keystore
         run: |
           echo "${{secrets.SIGNING_KEY}}" > release.keystore.asc
-          gpg -d --passphrase   "${{secrets.KEY_STORE_PASSWORD}}" - - batch release.keystore.asc > android/key.jks
+          gpg --decrypt --passphrase "${{secrets.KEY_STORE_PASSWORD}}" --batch release.keystore.asc > mobile/android/key.jks
       - name: Create key.properties
-        run: touch mobile/android/key.properties echo "storePassword=<storePassword> keyPassword=<keyPassword> keyAlias=<keyAlias> storeFile=../key.jks"  > mobile/android/key.properties
+        run: touch mobile/android/key.properties echo "storePassword=<storePassword> keyPassword=<keyPassword> keyAlias=<keyAlias> storeFile=mobile/android/key.jks" > mobile/android/key.properties
       - run: flutter --version
       - run: flutter pub get
       - run: flutter build apk