Skip to content

Make Readme 'nicer' #63

Make Readme 'nicer'

Make Readme 'nicer' #63

name: 'Release and Changelog Builder'
on:
push:
tags:
- '*'
jobs:
release:
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v2
- name: Build Changelog
id: github_release
uses: mikepenz/release-changelog-builder-action@v3.7.1
with:
configuration: ".github/workflows/cb.json"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Create Release
uses: ncipollo/release-action@v1.12.0
with:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }}
body: ${{steps.github_release.outputs.changelog}}
allowUpdates: true
draft: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}