mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-02-04 18:23:17 +00:00
Refactor Android CI workflow to use Nix actions and improve translation file collection
Some checks failed
Android / build (push) Failing after 6m12s
Some checks failed
Android / build (push) Failing after 6m12s
This commit is contained in:
parent
49bc90c00c
commit
51a1c1e6f3
3 changed files with 154 additions and 21 deletions
|
|
@ -23,11 +23,34 @@ if (flutterVersionName == null) {
|
|||
}
|
||||
|
||||
def keystoreProperties = new Properties()
|
||||
// Prefer root key.properties, but fall back to android/key.properties if present (CI may place it there)
|
||||
def keystorePropertiesFile = rootProject.file('key.properties')
|
||||
if (!keystorePropertiesFile.exists()) {
|
||||
def alt = rootProject.file('android/key.properties')
|
||||
if (alt.exists()) {
|
||||
keystorePropertiesFile = alt
|
||||
}
|
||||
}
|
||||
if (keystorePropertiesFile.exists()) {
|
||||
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
|
||||
}
|
||||
|
||||
// Temporary debug task: prints which keystore file Gradle sees and whether the storeFile exists (does NOT print secrets)
|
||||
task printSigning {
|
||||
doLast {
|
||||
println "keystorePropertiesFile = ${keystorePropertiesFile}"
|
||||
println "keystoreProperties keys = " + keystoreProperties.keySet().toString()
|
||||
def store = keystoreProperties['storeFile']
|
||||
println "storeFile = " + (store ?: 'null')
|
||||
if (store) {
|
||||
def f = new File(store)
|
||||
println "storeFile absolute = " + f.absolutePath
|
||||
println "storeFile exists = " + f.exists()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
android {
|
||||
namespace "inventree.inventree_app"
|
||||
compileSdkVersion 35
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue