2024-01-13 18:27:06 +01:00
|
|
|
name: 'CI'
|
2024-01-13 17:37:31 +01:00
|
|
|
on:
|
|
|
|
push:
|
2024-01-13 18:27:06 +01:00
|
|
|
tags:
|
|
|
|
- '*'
|
2024-01-13 17:37:31 +01:00
|
|
|
|
|
|
|
jobs:
|
2024-01-13 18:27:06 +01:00
|
|
|
release:
|
|
|
|
if: startsWith(github.ref, 'refs/tags/')
|
2024-01-13 17:37:31 +01:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2024-01-13 18:27:06 +01:00
|
|
|
- name: Build Changelog
|
|
|
|
id: github_release
|
|
|
|
uses: mikepenz/release-changelog-builder-action@v3
|
2024-01-13 17:37:31 +01:00
|
|
|
env:
|
2024-01-13 18:27:06 +01:00
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
|
|
|
|
- name: Create Release
|
|
|
|
uses: mikepenz/action-gh-release@v0.2.0-a03 #softprops/action-gh-release
|
|
|
|
with:
|
|
|
|
body: ${{steps.github_release.outputs.changelog}}
|