This commit is contained in:
Maccesch 2023-06-13 18:22:04 +01:00
parent 17882e3d62
commit 0777e5b9f8
2 changed files with 24 additions and 4 deletions

View file

@ -7,10 +7,7 @@ on:
name: CI name: CI
permissions: permissions: write-all
contents: read
pages: write
id-token: write
jobs: jobs:
publish: publish:

23
.github/workflows/github-release.yml vendored Normal file
View file

@ -0,0 +1,23 @@
on:
workflow_dispatch:
name: GitHub Release
permissions: write-all
jobs:
publish:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: CSchoel/release-notes-from-changelog@v1
- name: Create Release using GitHub CLI
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: >
gh release create
-d
-F RELEASE.md
-t "Version $RELEASE_VERSION"
${GITHUB_REF#refs/*/}