diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index f82d761..a8743d9 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -10,20 +10,20 @@ on: jobs: release: - runs-on: ubuntu-latest permissions: contents: write + runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v4 - - name: Create release - id: create_release - uses: actions/create-release@v1 + - name: Create GitHub Release + uses: softprops/action-gh-release@v2 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: + generate_release_notes: true tag_name: ${{ github.ref }} - release_name: ${{ github.ref }} + name: ${{ github.ref }} draft: false prerelease: false