ci: set prerelease before the build completes

This commit is contained in:
Andy Hsu
2023-02-25 18:02:45 +08:00
parent 4dd753de52
commit 81e10f8939
2 changed files with 37 additions and 17 deletions

19
.github/workflows/changelog.yml vendored Normal file
View File

@ -0,0 +1,19 @@
name: auto changelog
on:
push:
tags:
- '*'
jobs:
changelog:
name: Create Release
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
- run: npx changelogithub # or changelogithub@0.12 if ensure the stable result
env:
GITHUB_TOKEN: ${{secrets.MY_TOKEN}}