File tree Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -18,17 +18,15 @@ jobs:
18
18
steps :
19
19
- name : Create Release
20
20
id : create_release
21
- uses : actions/create-release@v1
22
- env :
23
- GITHUB_TOKEN : ${{ secrets.GH_ACCESS_TOKEN }} # This token is provided by Actions, you do not need to create your own token
21
+ uses : ncipollo/release-action@v1
22
+ if : startsWith(github.ref, 'refs/tags/') && success()
24
23
with :
25
- tag_name : ${{ github.event.inputs.version }}
26
- release_name : GetNighthawk Release for ${{ github.event.inputs.version }}
27
- body : |
28
- Changes in this Release
29
- - None
30
- draft : false
31
- prerelease : false
24
+ token : ${{ secrets.GH_ACCESS_TOKEN }}
25
+ tag : ${{ github.event.inputs.version }}
26
+ name : GetNighthawk ${{ github.event.inputs.version }}
27
+ allowUpdates : true
28
+ omitNameDuringUpdate : true
29
+ replacesArtifacts : true
32
30
build-and-publish :
33
31
name : build and publish packages
34
32
needs : [release]
You can’t perform that action at this time.
0 commit comments