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 7e4fea1 commit 6ad3a75Copy full SHA for 6ad3a75
.github/workflows/release.yml
@@ -21,7 +21,7 @@ jobs:
21
ref: 'latest'
22
23
- name: 'Create tag'
24
- uses: actions/github-script@v5
+ uses: actions/github-script@v7
25
with:
26
script: |
27
github.rest.git.createRef({
@@ -32,9 +32,14 @@ jobs:
32
})
33
34
- name: 'Create the release'
35
- uses: elgohr/Github-Release-Action@v5
36
- env:
37
- GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
38
39
- title: ${{ env.VERSION }}
40
- tag: ${{ env.VERSION }}
+ script: |
+ github.rest.repos.createRelease({
+ owner: context.repo.owner,
+ repo: context.repo.repo,
41
+ tag_name: '${{ env.VERSION }}',
42
+ name: '${{ env.VERSION }}',
43
+ draft: false,
44
+ prerelease: false
45
+ })
0 commit comments