ci: harden forgejo android signing restore
This commit is contained in:
parent
5cb4d7d4e1
commit
e3470d07e7
1 changed files with 3 additions and 1 deletions
|
|
@ -43,7 +43,9 @@ jobs:
|
|||
KEYSTORE_B64: ${{ secrets.ANDROID_KEYSTORE_BASE64 }}
|
||||
run: |
|
||||
test -n "$KEYSTORE_B64"
|
||||
echo "$KEYSTORE_B64" | base64 -d > "$RUNNER_TEMP/pedscribe-release.jks"
|
||||
CLEAN_KEYSTORE_B64="${KEYSTORE_B64#ANDROID_KEYSTORE_BASE64=}"
|
||||
printf '%s' "$CLEAN_KEYSTORE_B64" | tr -d '\r\n' | base64 -d > "$RUNNER_TEMP/pedscribe-release.jks"
|
||||
test -s "$RUNNER_TEMP/pedscribe-release.jks"
|
||||
|
||||
- name: Build signed release APK
|
||||
working-directory: mobile/android
|
||||
|
|
|
|||
Loading…
Reference in a new issue