From 3af57a0906f7cc797bac08229f9ba63a6ed289c9 Mon Sep 17 00:00:00 2001 From: "K.Y" Date: Wed, 15 Nov 2023 20:59:27 +0800 Subject: [PATCH] update github release --- .github/workflows/gh-release.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/gh-release.yml b/.github/workflows/gh-release.yml index 1f866ec..be98532 100644 --- a/.github/workflows/gh-release.yml +++ b/.github/workflows/gh-release.yml @@ -19,15 +19,14 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v3 - - name: Create Release + + - name: Create Release and Generate Notes id: create_release - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token + uses: softprops/action-gh-release@v1 with: + token: ${{ secrets.GITHUB_TOKEN }} tag_name: ${{ github.ref }} release_name: 💫 Release ${{ github.ref }} - body: | - See ChangeLog draft: false prerelease: false + generate_release_notes: true