Skip to content

Commit

Permalink
fix workflows on create
Browse files Browse the repository at this point in the history
  • Loading branch information
crosbydoo committed Feb 12, 2024
1 parent 738808c commit 113743f
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@ on:
push:
branches:
- main
pull_request:
branches:
- main
tags:
- "release-app"

jobs:
build:
Expand All @@ -20,14 +19,16 @@ jobs:
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
commit: main
tag: "release-app"
artifacts: "build/app/outputs/apk/production/release/*.apk"
allowUpdates: true

- uses: actions/upload-artifact@v2
with:
name: release-apk
Expand Down

0 comments on commit 113743f

Please sign in to comment.