From cdf0477ca284faa0974f13de62f323418fb13451 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Wed, 5 Jul 2023 20:05:08 +0800 Subject: [PATCH] :octocat: Update cd --- .github/workflows/cd.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index b8374660a..8906301df 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -55,15 +55,14 @@ jobs: - name: Create Release id: create_release - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + uses: ncipollo/release-action@v1 with: - release_name: ${{ steps.release_info.outputs.release_version }} - tag_name: ${{ github.ref }} + name: ${{ steps.release_info.outputs.release_version }} + tag: ${{ github.ref }} body: ${{ env.release_body }} draft: false prerelease: true + token: ${{ secrets.GITHUB_TOKEN }} build: runs-on: ${{ matrix.config.os }}