From bffb88efb458ccf256da8cc53a5529b300fab682 Mon Sep 17 00:00:00 2001 From: Kevin Deng Date: Tue, 25 Nov 2025 15:07:59 +0800 Subject: [PATCH] ci: add changelog --- .github/workflows/release.yml | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8713efe..d23d4a4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,9 +10,20 @@ jobs: permissions: id-token: write steps: - - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 - - uses: rust-lang/crates-io-auth-action@b7e9a28eded4986ec6b1fa40eeee8f8f165559ec # v1.0.3 + - name: Checkout + uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0 + + - name: Generate GitHub Changelog + run: npx changelogithub + continue-on-error: true + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + - name: Authenticate + uses: rust-lang/crates-io-auth-action@b7e9a28eded4986ec6b1fa40eeee8f8f165559ec # v1.0.3 id: auth - - run: cargo publish + + - name: Publish + run: cargo publish env: CARGO_REGISTRY_TOKEN: ${{ steps.auth.outputs.token }} -- knotmirror 0.0.1