Skip to content

Commit

Permalink
Add app bundle to release
Browse files Browse the repository at this point in the history
  • Loading branch information
kilimnik committed Feb 11, 2023
1 parent 01a1fc7 commit 6a4acc3
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ permissions:

jobs:
build:
name: Build APK
name: Build and Release
runs-on: ubuntu-latest
steps:
- uses: subosito/flutter-action@v2
Expand All @@ -36,16 +36,21 @@ jobs:
- run: flutter build apk --release
working-directory: ./app

- run: flutter build appbundle --release
working-directory: ./app

- name: Bump version and push tag
uses: anothrNick/github-tag-action@1.61.0
id: tagger
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WITH_V: true

- name: Push APK to Releases
- name: Push Release
uses: softprops/action-gh-release@v1
with:
files: "app/build/app/outputs/flutter-apk/app-release.apk"
files: |
app/build/app/outputs/flutter-apk/app-release.apk
app/build/app/outputs/bundle/release/app-release.aab
token: ${{ secrets.GITHUB_TOKEN }}
tag_name: ${{ steps.tagger.outputs.new_tag }}

0 comments on commit 6a4acc3

Please sign in to comment.