LifeMate — Personal, Family & Learning Companion

fix/local-task-persistence
chore/phase1-repository-cleanup deploy/stable-web-apk deployment-static design/mobile-accessibility-v2 design/mobile-navigation-review docs/child-education-access-decision docs/offline-data-rescue-options docs/owner-guide-and-delivery-plan docs/phase1-policy-options docs/public-review-live-2026-10-15 feat/aparat-learning-library feat/child-device-safety feat/child-identity-schema feat/flutter-mobile-navigation feat/learning-content-operations feat/local-signing-preflight feat/online-family-stage0 feat/personal-encrypted-recovery feat/private-planner-series-api feat/public-review-page feat/standalone-weekly-planner feat/weekly-planner-android final-feature-1/iran-family-school fix/auth-abuse-expiry-safety fix/auth-expiry-after-lock fix/backend-request-safety fix/lifeguide-bootstrap-naming-ci fix/lifeguide-pages-qa-base-preflight fix/lifeguide-qa-pages-env-deployment fix/local-task-persistence fix/managed-child-session-boundary fix/personal-jalali-dates fix/personal-notification-controls fix/personal-upgrade-delivery-guard fix/sms-approval-gates fix/study-duration-display infra/cloudflare-neon-migration infra/lifeguide-cloudflare-qa infra/lifeguide-github-pages-qa infra/lifeguide-supabase-qa main phase-1/foundation-completion phase-2/product-foundation-identity phase-3/planner-school-family-core phase-4/ai-learning-wellbeing phase-5/hardening-observability-release test/android-reminder-acceptance test/personal-notification-settings test/personal-recovery-acceptance test/role-entry-apk
yml 43 lines 1.46 KB
Raw
1 name: Build Life Guide role-entry APK
2
3 on:
4 push:
5 branches: [test/role-entry-apk]
6 workflow_dispatch:
7
8 permissions:
9 contents: write
10
11 jobs:
12 build:
13 runs-on: ubuntu-latest
14 defaults:
15 run:
16 working-directory: apps/lifemate
17 steps:
18 - uses: actions/checkout@v4
19 - uses: subosito/flutter-action@v2
20 with:
21 channel: stable
22 cache: true
23 - run: flutter pub get
24 - name: Test role-first entry
25 run: flutter test test/role_entry_test.dart
26 - name: Build Android APK
27 run: flutter build apk --release --target=lib/role_entry_main.dart
28 - name: Upload APK artifact
29 uses: actions/upload-artifact@v4
30 with:
31 name: LifeGuide-role-entry-test-apk
32 path: apps/lifemate/build/app/outputs/flutter-apk/app-release.apk
33 if-no-files-found: error
34 retention-days: 30
35 - name: Publish test APK
36 env:
37 GH_TOKEN: ${{ github.token }}
38 run: |
39 TAG=lifeguide-role-entry-test
40 git tag -f "$TAG" "$GITHUB_SHA"
41 git push origin "refs/tags/$TAG" --force
42 gh release view "$TAG" >/dev/null 2>&1 || gh release create "$TAG" --title "Life Guide Role Entry Test" --notes "Android test build with login bypassed and role-first entry for child, mother, and father." --prerelease --target "$GITHUB_SHA"
43 gh release upload "$TAG" build/app/outputs/flutter-apk/app-release.apk#LifeGuide-role-entry-test.apk --clobber