chore(changelog): up build.yml to add changelog

This commit is contained in:
lejianwen
2024-12-21 21:39:11 +08:00
parent 5cddbf14c8
commit 1c3afa4a70

View File

@@ -55,6 +55,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go environment
uses: actions/setup-go@v4
@@ -121,6 +123,12 @@ jobs:
name: rustdesk-api-${{ matrix.job.goos }}-${{ matrix.job.platform }}
path: |
${{ matrix.job.goos}}-${{ matrix.job.platform }}.${{matrix.job.file_ext}}
- name: Generate Changelog
run: npx changelogithub # or changelogithub@0.12 if ensure the stable result
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Upload to GitHub Release
uses: softprops/action-gh-release@v2
with: