fix not able to make release

This commit is contained in:
Dr-Blank 2024-08-23 08:08:05 -04:00
parent 7fce291c66
commit b6164c38bc
No known key found for this signature in database
GPG key ID: 7452CC63F210A266
2 changed files with 6 additions and 4 deletions

View file

@ -3,10 +3,13 @@ name: Flutter Release Workflow
on:
push:
tags:
- "v*.*.*"
- "v**"
jobs:
build:
permissions:
# write permission is required to create a github release
contents: write
runs-on: ubuntu-latest
steps:
@ -43,14 +46,13 @@ jobs:
- name: Generate Release Notes
id: generate_release_notes
uses: release-drafter/release-drafter@v5
with:
config-name: release-drafter.yml
env:
GITHUB_TOKEN: ${{ github.token }}
- name: Create GitHub Release
uses: ncipollo/release-action@v1
with:
artifacts: build/app/outputs/flutter-apk/app-release.apk
token: ${{ secrets.GITHUB_TOKEN }}
name: Release ${{ github.ref }}
tag: ${{ github.ref }}
# body: ${{ steps.generate_release_notes.outputs.notes }}