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
|
- name: 🔨 Run compilation check
|
||||||
run: |
|
run: |
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
|
|
||||||
echo "🏗️ Building client app for Android (dev mode)..."
|
echo "🏗️ Building client app for Android (dev mode)..."
|
||||||
if ! make mobile-client-build PLATFORM=apk MODE=debug 2>&1 | tee client_build.txt; then
|
if ! make mobile-client-build PLATFORM=apk MODE=debug 2>&1 | tee client_build.txt; then
|
||||||
echo ""
|
echo ""
|
||||||
@@ -162,7 +162,7 @@ jobs:
|
|||||||
if [[ -n "$file" && "$file" == *.dart ]]; then
|
if [[ -n "$file" && "$file" == *.dart ]]; then
|
||||||
echo "📝 Analyzing: $file"
|
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
|
HAS_ERRORS=true
|
||||||
FAILED_FILES+=("$file")
|
FAILED_FILES+=("$file")
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user