Skip to content

Commit

Permalink
chore(changelog): up build.yml to generate changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
lejianwen committed Dec 22, 2024
1 parent 8b00b91 commit 4468894
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 [email protected] 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 [email protected] if ensure the stable result
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

docker:
name: Push Docker Image
needs: build
Expand Down

0 comments on commit 4468894

Please sign in to comment.