Refactor Android CI workflow to use Nix actions and improve translation file collection
Some checks failed
Android / build (push) Failing after 6m12s

This commit is contained in:
HendrikRauh 2026-01-26 17:40:54 +01:00
parent 49bc90c00c
commit 050cd7b876
3 changed files with 127 additions and 22 deletions

View file

@ -23,10 +23,17 @@ 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))
}
}
android {
namespace "inventree.inventree_app"