ci(release): create workflow for automatic releases

re #94
This commit is contained in:
cedoor
2023-02-15 22:02:22 +01:00
parent 9f4b413e49
commit 8cf83af4b9

27
.github/workflows/release.yml vendored Normal file
View File

@@ -0,0 +1,27 @@
name: release
permissions:
contents: write
on:
push:
tags:
- "v*"
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 16.x
- run: npx changelogithub
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}