Skip to content

Commit

Permalink
chore: ci release changelog
Browse files Browse the repository at this point in the history
Signed-off-by: Innei <i@innei.in>
  • Loading branch information
Innei committed Aug 5, 2024
1 parent 63139f2 commit 529fa6d
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ jobs:
- name: Setup Version
id: version
uses: ./.github/actions/setup-version

- name: Create Release Draft
if: github.ref_type == 'tag'
uses: softprops/action-gh-release@v2
Expand All @@ -137,3 +136,23 @@ jobs:
out/make/**/*.exe
out/make/**/*.AppImage
out/make/**/*.yml
changelog:
needs: [release]
runs-on: ubuntu-latest
if: github.ref_type == 'tag'
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup pnpm
uses: pnpm/action-setup@v4

- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: "pnpm"

- run: npx changelogithub # or changelogithub@0.12 if ensure the stable result
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 comments on commit 529fa6d

Please sign in to comment.