fix: Update mobile CI workflow for improved error handling and efficiency
This commit is contained in:
4
.github/workflows/mobile-ci.yml
vendored
4
.github/workflows/mobile-ci.yml
vendored
@@ -89,7 +89,7 @@ jobs:
|
||||
- name: 🔨 Run compilation check
|
||||
run: |
|
||||
set -o pipefail
|
||||
|
||||
|
||||
echo "🏗️ Building client app for Android (dev mode)..."
|
||||
if ! make mobile-client-build PLATFORM=apk MODE=debug 2>&1 | tee client_build.txt; then
|
||||
echo ""
|
||||
@@ -162,7 +162,7 @@ jobs:
|
||||
if [[ -n "$file" && "$file" == *.dart ]]; then
|
||||
echo "📝 Analyzing: $file"
|
||||
|
||||
if ! dart analyze "$file" --no-fatal-infos 2>&1 | tee -a lint_output.txt; then
|
||||
if ! dart analyze "$file" 2>&1 | tee -a lint_output.txt; then
|
||||
HAS_ERRORS=true
|
||||
FAILED_FILES+=("$file")
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user