Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
RedCommander735 committed May 2, 2024
1 parent 5194eab commit 6844db3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@ jobs:
path: build/app/outputs/flutter-apk/app-release.apk

- name: Rename apk
run: mv build/app/outputs/flutter-apk/app-release.apk build/app/outputs/flutter-apk/${{ github.ref_name }}-release.apk
run: mv build/app/outputs/flutter-apk/app-release.apk build/app/outputs/flutter-apk/${{ github.ref_name }}-app-release.apk

- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
body_path: CHANGELOG.md
token: ${{ secrets.GITHUB_TOKEN }}
files: build/app/outputs/flutter-apk/app-release.apk
files: build/app/outputs/flutter-apk/${{ github.ref_name }}-app-release.apk

0 comments on commit 6844db3

Please sign in to comment.