Skip to content

Update min sdk version to support ci cd github #3

Update min sdk version to support ci cd github

Update min sdk version to support ci cd github #3

Workflow file for this run

name: Flutter CI/CD
on:
push:
branches: [ release ]
pull_request:
branches: [ release ]
jobs:
build-android:
name: Build Android APK
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: '3.19.0'
channel: stable
- name: Install dependencies
run: flutter pub get
- name: Analyze code
run: flutter analyze
# - name: Run tests
# run: flutter test
- name: Build APK
run: flutter build apk --release
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: android-apk
path: build/app/outputs/flutter-apk/app-release.apk