diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fd324b8..cbb7958 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 \ No newline at end of file + 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" \ No newline at end of file