This commit is contained in:
parent
d3deca77a8
commit
7993a11db4
2 changed files with 13 additions and 6 deletions
|
|
@ -23,6 +23,14 @@ jobs:
|
|||
- name: Install dependencies
|
||||
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
|
||||
run: bun run build:apps
|
||||
|
||||
|
|
|
|||
|
|
@ -27,16 +27,15 @@ android {
|
|||
}
|
||||
signingConfigs {
|
||||
create("release") {
|
||||
val keystorePropertiesFile = rootProject.file("keystore.properties")
|
||||
val keystorePropertiesFile = rootProject.file("../../../../../keystore.properties")
|
||||
val keystoreProperties = Properties()
|
||||
if (keystorePropertiesFile.exists()) {
|
||||
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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue