abouttreesummaryrefslogcommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorJules Aguillon2024-01-10 00:31:43 +0100
committerJules Aguillon2024-01-10 00:34:19 +0100
commitcf9fd3a0db220c997baf4057e06233133638a536 (patch)
tree59593006999260fa866992bc2ac829fc18017374 /build.gradle
parent329a35e7d368db79938d026cdec749021e427b5e (diff)
downloadunexpected-keyboard-cf9fd3a0db220c997baf4057e06233133638a536.tar.gz
unexpected-keyboard-cf9fd3a0db220c997baf4057e06233133638a536.zip
CI: Fix debug build due to missing release keystore
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle10
1 files changed, 6 insertions, 4 deletions
diff --git a/build.gradle b/build.gradle
index 8c1055e..b2ea12d 100644
--- a/build.gradle
+++ b/build.gradle
@@ -36,10 +36,12 @@ android {
}
release {
- storeFile file(System.env.RELEASE_KEYSTORE)
- storePassword "$System.env.RELEASE_KEYSTORE_PASSWORD"
- keyAlias "$System.env.RELEASE_KEY_ALIAS"
- keyPassword "$System.env.RELEASE_KEY_PASSWORD"
+ if (System.env.RELEASE_KEYSTORE) {
+ storeFile file(System.env.RELEASE_KEYSTORE)
+ storePassword "$System.env.RELEASE_KEYSTORE_PASSWORD"
+ keyAlias "$System.env.RELEASE_KEY_ALIAS"
+ keyPassword "$System.env.RELEASE_KEY_PASSWORD"
+ }
}
}