Skip to content

fixing new workflows #4

fixing new workflows

fixing new workflows #4

Workflow file for this run

name: relese app
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-java@v1
with:
java-version: "12.x"
- uses: subosito/flutter-action@v1
with:
channel: "stable"
- run: flutter pub get
- run: dart format
- run: flutter analyze .
- run: flutter build apk --flavor production -t lib/main_production.dart
- uses: ncipollo/release-action@v1.10.0
with:
commit: master
tag: release-app
artifacts: "build/app/outputs/apk/production/release/*.apk"
- uses: actions/upload-artifact@v2
with:
name: release-apk
path: |
build/app/outputs/apk/production/release/