From 06e3b4c70067ca53a0f29a0f4603dab14524de11 Mon Sep 17 00:00:00 2001 From: Wei Lee Date: Sun, 3 Dec 2023 13:00:36 +0800 Subject: [PATCH] ci(github-actions): fix release step tag name and use ncipollo/release-action@v1 Closes: #923 --- .github/workflows/bumpversion.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/bumpversion.yml b/.github/workflows/bumpversion.yml index 86a379ef2..f3ce05ecc 100644 --- a/.github/workflows/bumpversion.yml +++ b/.github/workflows/bumpversion.yml @@ -27,9 +27,7 @@ jobs: github_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} changelog_increment_filename: body.md - name: Release - uses: softprops/action-gh-release@v1 + uses: ncipollo/release-action@v1 with: - body_path: "body.md" - tag_name: ${{ env.REVISION }} - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + tag: v${{ env.REVISION }} + bodyFile: "body.md"