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

This commit is contained in:
lejianwen
2024-12-22 14:14:51 +08:00
parent 3b8b8f37dd
commit ba46dbbf7e

View File

@@ -124,21 +124,20 @@ jobs:
path: |
${{ matrix.job.goos}}-${{ matrix.job.platform }}.${{matrix.job.file_ext}}
- name: Generate Changelog
run: npx changelogithub --output CHANGELOG.md # 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:
body_path: CHANGELOG.md
files: |
${{ matrix.job.goos}}-${{ matrix.job.platform }}.${{matrix.job.file_ext}}
# tag_name: ${{ env.LATEST_TAG }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Generate Changelog
run: npx changelogithub # or changelogithub@0.12 if ensure the stable result
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
docker:
name: Push Docker Image
needs: build