Skip to content

Update build-android.yml #39

Update build-android.yml

Update build-android.yml #39

Workflow file for this run

name: build-android
on:
push:
branches:
- master
jobs:
build:
name: Run tests and build Android apk
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: '17'
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
flutter-version: 3.24.0
- run: flutter pub get
- run: flutter pub run build_runner build --delete-conflicting-outputs
- run: flutter test
- run: flutter build apk --flavor dev --android-project-arg qa
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: MoneyManager.apk
path: build/app/outputs/apk/dev/release/app-dev-release.apk