From 4468894dfb622c82b4778fc4376b7349be90ce09 Mon Sep 17 00:00:00 2001 From: lejianwen <84855512@qq.com> Date: Sun, 22 Dec 2024 14:14:51 +0800 Subject: [PATCH] chore(changelog): up build.yml to generate changelog --- .github/workflows/build.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f2118ea..9a43996 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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