Skip to content

chore: test common workflow #24

chore: test common workflow

chore: test common workflow #24

Workflow file for this run

name: Badge Magic PR CI
on:
pull_request:
branches: ["flutter_app"]
jobs:
common:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/workflows/common/common.yml
android:
name: Android Flutter Build
needs: common
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
cache: true
- name: Run tests
run: flutter test
- name: Build Android APK/AAB
run: |
flutter build apk
flutter build appbundle
ios:
name: iOS Flutter Build
needs: common
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
cache: true
- name: Run tests
run: flutter test
- name: Build iOS IPA
run: |
flutter build ipa --no-codesign