Skip to content

Commit

Permalink
automating release
Browse files Browse the repository at this point in the history
  • Loading branch information
Syipmong committed Feb 9, 2024
1 parent 3750d10 commit a3de09b
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,28 @@ jobs:

- name: Build APK
run: flutter build apk

# Generate Release Body
- name: Generate Release Body
id: generate_release_body
run: |
./generate_release_body.sh > release_body.txt
# Generate Release Files
- name: Generate Release Files
id: generate_release_files
run: |
cp build/app/outputs/flutter-apk/app-release.apk release_files/app-release.apk

# Create GitHub Release
- name: Create Release
uses: marination/action-automatic-releases@latest
with:
repo_token: ${{ secrets.GH_TOKEN }}
automatic_release_tag: v${{ github.run_number }}
release: false
title: Release ${{ github.run_number }}
files: |
build/app/outputs/flutter-apk/app-release.apk release_files/app-release.apk
body_path: release_body.txt

0 comments on commit a3de09b

Please sign in to comment.