fix(ci): handle missing local.properties in CI environment

- Check if local.properties exists before reading
- Fallback to FLUTTER_ROOT environment variable
- Add FLUTTER_ROOT to CI variables
- Set default Flutter path to /opt/flutter for CI
- Fixes: 'local.properties (No such file or directory)' error
This commit is contained in:
factory-droid[bot]
2025-10-02 11:58:59 +00:00
parent 5040ee731a
commit ab91ce7e46
2 changed files with 12 additions and 2 deletions

View File

@@ -9,6 +9,8 @@ stages:
variables:
# Flutter версия
FLUTTER_VERSION: "3.35.5"
# Flutter путь для CI
FLUTTER_ROOT: "/opt/flutter"
# Android SDK
ANDROID_SDK_ROOT: "/opt/android-sdk"
# Gradle настройки для CI (меньше RAM)