1
0

ci: create github release (#929)

This commit is contained in:
三咲智子 Kevin Deng 2023-01-10 17:01:50 +08:00 committed by GitHub
parent 34be0078c2
commit 971e273dc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

@ -0,0 +1,23 @@
name: Release
on:
push:
tags:
- 'v*'
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set node
uses: actions/setup-node@v3
with:
node-version: 18
- run: npx changelogithub
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}