Skip to content

Commit

Permalink
fix not able to make release
Browse files Browse the repository at this point in the history
  • Loading branch information
Dr-Blank committed Aug 23, 2024
1 parent 7fce291 commit bc2a553
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/flutter_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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 }}

0 comments on commit bc2a553

Please sign in to comment.