conditionally run action without keys

This commit is contained in:
Kylie C 2025-08-12 21:22:06 -04:00
parent f3e0d04b31
commit b8fbd39213
2 changed files with 2 additions and 2 deletions

View File

@ -129,7 +129,7 @@ jobs:
run: |
echo "${{ secrets.keystore }}" | base64 -d > release.keystore
cd android-project
./gradlew packageRelease \
./gradlew $([ -n "$SIGNING_KEY_ALIAS" ] && echo packageRelease || echo assembleDebug ) \
--info \
-PcmakeArgs="-DCMAKE_BUILD_TYPE=Release \
-DISLE_USE_DX5=${{ !!matrix.dx5 }} \

View File

@ -37,7 +37,7 @@ android {
enableV4Signing = true
keyAlias = System.getenv("SIGNING_KEY_ALIAS")
keyPassword = System.getenv("SIGNING_KEY_PASSWORD")
storeFile = file(System.getenv("SIGNING_STORE_FILE"))
System.getenv("SIGNING_STORE_FILE")?.with { storeFile = file(it) }
storePassword = System.getenv("SIGNING_STORE_PASSWORD")
}
}