Some checks failed
Flutter CI - Build iOS & Android / Build Flutter App (push) Failing after 2m53s
44 lines
917 B
YAML
44 lines
917 B
YAML
name: Flutter CI - Build iOS & Android
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- develop_sky
|
|
|
|
jobs:
|
|
build:
|
|
name: Build Flutter App
|
|
runs-on: sky
|
|
|
|
steps:
|
|
- name: Checkout Code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup Flutter
|
|
run: |
|
|
flutter --version
|
|
flutter pub get
|
|
|
|
- name: Run Tests
|
|
run: flutter test
|
|
|
|
- name: Analyze Code
|
|
run: flutter analyze
|
|
|
|
- name: Build iOS IPA
|
|
run: flutter build ipa --release --export-method ad-hoc
|
|
|
|
- name: Build Android APK
|
|
run: flutter build apk --release
|
|
|
|
- name: Build Android AAB
|
|
run: flutter build appbundle --release
|
|
|
|
- name: Upload Artifacts
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: flutter-builds
|
|
path: |
|
|
build/app/outputs/flutter-apk/
|
|
build/app/outputs/bundle/
|
|
build/ios/ipa/ |