Skip to content

Commit 03e0b2e

Browse files
authored
Update keystore decoding to use environment variable
1 parent cdb071f commit 03e0b2e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/android-release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,10 @@ jobs:
6767
# ${{ steps.rename.outputs.aab }}
6868
6969
- name: Decode keystore
70-
if: ${{ secrets.ANDROID_KEYSTORE_BASE64 != '' }}
71-
run: echo "${{ secrets.ANDROID_KEYSTORE_BASE64 }}" | base64 -d > releaseKey.jks
70+
if: ${{ env.ANDROID_KEYSTORE_BASE64 != '' }}
71+
env:
72+
ANDROID_KEYSTORE_BASE64: ${{ secrets.ANDROID_KEYSTORE_BASE64 }}
73+
run: echo "$ANDROID_KEYSTORE_BASE64" | base64 -d > releaseKey.jks
7274

7375
- name: Build release APK
7476
run: ./gradlew assembleRelease

0 commit comments

Comments
 (0)