chore: configure release.yml

This commit is contained in:
pany 2024-09-27 16:10:12 +08:00
parent 85bbfb5adc
commit bf8b5b99bb

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

@ -0,0 +1,25 @@
name: Release
permissions:
contents: write
on:
push:
tags:
- "v*"
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 20.17.0
- run: npx changelogithub
env:
GITHUB_TOKEN: ${{secrets.V3_ADMIN_VITE}}