File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -79,13 +79,14 @@ jobs:
7979 run : echo "${{ secrets.KEY_STORE_BASE64 }}" | base64 --decode > android/app/keystore.jks
8080
8181 - name : Create key.properties
82+ env :
83+ KEY_STORE_PASSWORD : ${{ secrets.KEY_STORE_PASSWORD }}
84+ KEY_STORE_ALIAS : ${{ secrets.KEY_STORE_ALIAS }}
8285 run : |
83- cat > android/key.properties << EOF
84- storePassword=${{ secrets.KEY_STORE_PASSWORD }}
85- keyPassword=${{ secrets.KEY_STORE_PASSWORD }}
86- keyAlias=${{ secrets.KEY_STORE_ALIAS }}
87- storeFile=keystore.jks
88- EOF
86+ printf 'storePassword=%s\n' "$KEY_STORE_PASSWORD" > android/key.properties
87+ printf 'keyPassword=%s\n' "$KEY_STORE_PASSWORD" >> android/key.properties
88+ printf 'keyAlias=%s\n' "$KEY_STORE_ALIAS" >> android/key.properties
89+ printf 'storeFile=keystore.jks\n' >> android/key.properties
8990
9091 - name : Build App Bundle
9192 run : flutter build appbundle --release
You can’t perform that action at this time.
0 commit comments