(fix): add android signing
Some checks failed
/ deploy (push) Failing after 18s

This commit is contained in:
Alois 2026-05-02 18:41:07 +02:00
commit 7993a11db4
2 changed files with 13 additions and 6 deletions

View file

@ -23,6 +23,14 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: bun install --frozen-lockfile run: bun install --frozen-lockfile
- name: Setup Android Keystore
env:
KEYSTORE_BASE64: ${{ secrets.ANDROID_KEYSTORE_BASE64 }}
KEYSTORE_PROPERTIES: ${{ secrets.ANDROID_KEYSTORE_PROPERTIES }}
run: |
echo "$KEYSTORE_BASE64" | base64 -d > keystore.jks
echo "$KEYSTORE_PROPERTIES" > keystore.properties
- name: Build - name: Build
run: bun run build:apps run: bun run build:apps

View file

@ -27,16 +27,15 @@ android {
} }
signingConfigs { signingConfigs {
create("release") { create("release") {
val keystorePropertiesFile = rootProject.file("keystore.properties") val keystorePropertiesFile = rootProject.file("../../../../../keystore.properties")
val keystoreProperties = Properties() val keystoreProperties = Properties()
if (keystorePropertiesFile.exists()) { if (keystorePropertiesFile.exists()) {
keystoreProperties.load(FileInputStream(keystorePropertiesFile)) keystoreProperties.load(FileInputStream(keystorePropertiesFile))
keyAlias = keystoreProperties["keyAlias"] as String
keyPassword = keystoreProperties["password"] as String
storeFile = rootProject.file("../../../../../" + (keystoreProperties["storeFile"] as String))
storePassword = keystoreProperties["password"] as String
} }
keyAlias = keystoreProperties["keyAlias"] as String
keyPassword = keystoreProperties["password"] as String
storeFile = file(keystoreProperties["storeFile"] as String)
storePassword = keystoreProperties["password"] as String
} }
} }
buildTypes { buildTypes {