From 0256516af6bc917d455e8fe38ed8ef961c3ec8a4 Mon Sep 17 00:00:00 2001 From: Sandeep Selvaraj Date: Fri, 27 Feb 2026 12:18:21 +0100 Subject: [PATCH] build: use different action to build git-cliff binary --- .github/workflows/release.yml | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5ac363c..886c9e4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -124,22 +124,16 @@ jobs: fetch-depth: 0 # git-cliff needs full history to build the changelog token: ${{ secrets.GITHUB_TOKEN }} - - name: Generate changelog for this release (release body) - uses: orhun/git-cliff-action@v3 - id: cliff_body + - name: Install git-cliff + uses: taiki-e/install-action@v2 with: - config: cliff.toml - args: --current --strip all - env: - OUTPUT: body.md + tool: git-cliff + + - name: Generate changelog for this release (release body) + run: git cliff --config cliff.toml --current --strip all > body.md - name: Regenerate full CHANGELOG.md - uses: orhun/git-cliff-action@v3 - with: - config: cliff.toml - args: --output CHANGELOG.md - env: - OUTPUT: CHANGELOG.md + run: git cliff --config cliff.toml --output CHANGELOG.md - name: Commit updated CHANGELOG.md run: |