diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a6ed8f2..b8712f4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,22 +5,20 @@ on: name: release -permissions: write-all +permissions: + contents: write jobs: create_release: - name: create release runs-on: ubuntu-latest - outputs: - upload_url: ${{ steps.create_release.outputs.upload_url }} steps: - - name: create release - id: create_release - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Checkout code + uses: actions/checkout@v4.1.1 + + - name: Create GH Release + uses: softprops/action-gh-release@v0.1.15 with: - tag_name: ${{ github.ref }} - release_name: Release ${{ github.ref }} + name: Release ${{ github.ref_name }} + generate_release_notes: true draft: false prerelease: false