Skip to content

Release

Release #11

Workflow file for this run

name: Release
on:
release:
types:
- created
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Parse changelog
uses: actions-ecosystem/action-regex-match@v2
id: regex-match
with:
text: CHANGELOG.md
regex: |
'## \['
${{ github.event.release.tag_name }}
'\].*\n\n((.|\n)*)(?:## \[[0-9]+.[0-9]+.[0-9]+\])'
flags: gm
- name: Set release body
uses: softprops/action-gh-release@v2
with:
run: echo ${{ steps.regex-match.outputs.group1 }}
body: ${{ steps.regex-match.outputs.group1 }}