CI: Update CI workflows to use Citron-specific naming and paths

This commit is contained in:
Zephyron 2025-04-30 16:50:39 +10:00
parent 257aad2431
commit eec0f34204
65 changed files with 2596 additions and 10 deletions

View file

@ -76,9 +76,19 @@ android {
buildConfigField("String", "BRANCH", "\"${getBranch()}\"")
}
// Always use debug keystore for CI builds when USE_DEBUG_KEYSTORE is set
val useDebugKeystore = System.getenv("USE_DEBUG_KEYSTORE") == "true"
val keystoreFile = System.getenv("ANDROID_KEYSTORE_FILE")
signingConfigs {
if (keystoreFile != null) {
create("default") {
storeFile = file("$projectDir/debug.keystore")
storePassword = "android"
keyAlias = "androiddebugkey"
keyPassword = "android"
}
if (keystoreFile != null && !useDebugKeystore) {
create("release") {
storeFile = file(keystoreFile)
storePassword = System.getenv("ANDROID_KEYSTORE_PASS")
@ -86,12 +96,6 @@ android {
keyPassword = System.getenv("ANDROID_KEYSTORE_PASS")
}
}
create("default") {
storeFile = file("$projectDir/debug.keystore")
storePassword = "android"
keyAlias = "androiddebugkey"
keyPassword = "android"
}
}
// Define build types, which are orthogonal to product flavors.
@ -99,7 +103,7 @@ android {
// Signed by release key, allowing for upload to Play Store.
release {
signingConfig = if (keystoreFile != null) {
signingConfig = if (keystoreFile != null && !useDebugKeystore) {
signingConfigs.getByName("release")
} else {
signingConfigs.getByName("default")

View file

@ -24,7 +24,7 @@
<property name="title">
<string>citron Web Service</string>
</property>
<layout class="QVBoxLayout" name="verticalLayoutYuzuWebService">
<layout class="QVBoxLayout" name="verticalLayoutCitronWebService">
<item>
<widget class="QLabel" name="web_credentials_disclaimer">
<property name="text">
@ -33,7 +33,7 @@
</widget>
</item>
<item>
<layout class="QGridLayout" name="gridLayoutYuzuUsername">
<layout class="QGridLayout" name="gridLayoutCitronUsername">
<item row="2" column="3">
<widget class="QPushButton" name="button_reset_token">
<property name="sizePolicy">