ci: allow android builds on forks to skip keystore configuration (#32927)

Our build.gradle configuration already defaults to using the debug
keystore when the keystore is not configured so only the CI needs this
fix.

Fixes #32922

Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
This commit is contained in:
Mukilan Thiyagarajan 2024-08-04 12:05:49 +05:30 committed by GitHub
parent 7c2c383bb1
commit 8052027dd4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -81,6 +81,7 @@ jobs:
- name: Setup Key Store for APK Signing
env:
KEYSTORE_BASE64: ${{ secrets.APK_KEYSTORE_BASE64 }}
if: ${{ env.KEYSTORE_BASE64 != '' }}
run: |
APK_SIGNING_KEY_STORE_PATH="${PWD}/servo_keystore.jks"
echo "${KEYSTORE_BASE64}" | base64 -d > "${APK_SIGNING_KEY_STORE_PATH}"