Skip to content

Commit

Permalink
💚 Fixing CI Build. add github-release.yml workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lbw committed Mar 2, 2024
1 parent 60d1385 commit 3abf8dc
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/github-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: publish github release
on:
workflow_dispatch:
push:
tags:
- '*'

jobs:
publish-github-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Generate changelog
id: changelog
uses: metcalfc/[email protected]
with:
myToken: ${{ secrets.GH_TOKEN }}

- name: Create GitHub Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
with:
tag_name: ${{ github.event.inputs.releaseversion }}
release_name: ${{ github.event.inputs.releaseversion }}
body: |
### Things that changed in this release
${{ steps.changelog.outputs.changelog }}
draft: false
prerelease: ${{ contains(github.event.inputs.releaseversion, '-') }}

0 comments on commit 3abf8dc

Please sign in to comment.