mirror of
https://github.com/Dr-Blank/Vaani.git
synced 2025-12-11 05:29:29 +00:00
fix not able to make release
This commit is contained in:
parent
7fce291c66
commit
b6164c38bc
2 changed files with 6 additions and 4 deletions
10
.github/workflows/flutter_release.yaml
vendored
10
.github/workflows/flutter_release.yaml
vendored
|
|
@ -3,10 +3,13 @@ name: Flutter Release Workflow
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- "v*.*.*"
|
- "v**"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
permissions:
|
||||||
|
# write permission is required to create a github release
|
||||||
|
contents: write
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
@ -43,14 +46,13 @@ jobs:
|
||||||
- name: Generate Release Notes
|
- name: Generate Release Notes
|
||||||
id: generate_release_notes
|
id: generate_release_notes
|
||||||
uses: release-drafter/release-drafter@v5
|
uses: release-drafter/release-drafter@v5
|
||||||
with:
|
env:
|
||||||
config-name: release-drafter.yml
|
GITHUB_TOKEN: ${{ github.token }}
|
||||||
|
|
||||||
- name: Create GitHub Release
|
- name: Create GitHub Release
|
||||||
uses: ncipollo/release-action@v1
|
uses: ncipollo/release-action@v1
|
||||||
with:
|
with:
|
||||||
artifacts: build/app/outputs/flutter-apk/app-release.apk
|
artifacts: build/app/outputs/flutter-apk/app-release.apk
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
name: Release ${{ github.ref }}
|
name: Release ${{ github.ref }}
|
||||||
tag: ${{ github.ref }}
|
tag: ${{ github.ref }}
|
||||||
# body: ${{ steps.generate_release_notes.outputs.notes }}
|
# body: ${{ steps.generate_release_notes.outputs.notes }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue