CI: build nightly on push.

Fixes #894.
This commit is contained in:
Dennis Guse
2021-08-31 07:26:59 +02:00
parent 9f6089e7f1
commit 26ed9b24d3
2 changed files with 50 additions and 0 deletions
+16
View File
@@ -62,6 +62,16 @@ android {
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
testInstrumentationRunnerArguments clearPackageData: 'true'
}
signingConfigs {
nightly {
if (System.getProperty("nightly_store_file") != null) {
storeFile file(System.getProperty("nightly_store_file"))
storePassword System.getProperty("nightly_store_password")
keyAlias System.getProperty("nightly_key_alias")
keyPassword System.getProperty("nightly_key_password")
}
}
}
buildTypes {
debug {
@@ -69,6 +79,12 @@ android {
versionNameSuffix "-debug"
}
nightly {
signingConfig signingConfigs.nightly
applicationIdSuffix ".nightly"
versionNameSuffix "-nightly"
}
release {
minifyEnabled false
}