Skip to content

Commit

Permalink
release code added to main.yml file
Browse files Browse the repository at this point in the history
  • Loading branch information
ashmil19 committed Dec 30, 2022
1 parent 5aa293e commit 4c21c73
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,14 @@ jobs:
# Build universal apk.
- run: flutter build apk --release

# Upload universal generated apk to the artifacts.
- uses: actions/upload-artifact@v3
- uses: svenstaro/upload-release-action@v2
with:
name: Book-Tracker.apk
path: build/app/outputs/apk/release/app-release.apk
repo_name: ashmil19/Book-Tracker
repo_token: ${{ secrets.TOKEN }}
file: build/app/outputs/apk/release/app-release.apk
asset_name: Book-Tracker.apk
tag: ${{ github.ref }}
release_name: Latest Release
prerelease: false
overwrite: true
body: "Book Tracker app"

0 comments on commit 4c21c73

Please sign in to comment.