We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b489dfa commit f11bcb2Copy full SHA for f11bcb2
.github/workflows/create-release.yml
@@ -28,12 +28,9 @@ jobs:
28
runs-on: ubuntu-latest
29
needs: publish
30
steps:
31
- - name: Create Release Notes
32
- uses: actions/github-script@v4.0.2
33
- with:
34
- github-token: ${{secrets.GITHUB_TOKEN}}
35
- script: |
36
- await github.request(`POST /repos/${{ github.repository }}/releases`, {
37
- tag_name: "${{ github.ref }}",
38
- generate_release_notes: true
39
- });
+ - name: Checkout code
+ uses: actions/checkout@v3
+ - name: Create Release
+ run: gh release create ${{ github.ref }} --generate-notes
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments