File tree Expand file tree Collapse file tree 1 file changed +8
-16
lines changed Expand file tree Collapse file tree 1 file changed +8
-16
lines changed Original file line number Diff line number Diff line change 1
1
name : Release
2
2
3
3
on :
4
+ workflow_dispatch :
4
5
push :
5
6
tags :
6
- - " v* "
7
+ - ' v* '
7
8
8
9
jobs :
9
10
build :
10
- runs-on : ubuntu-latest
11
+ runs-on : ubuntu-24.04
11
12
steps :
12
13
- uses : actions/checkout@v4
14
+ - uses : softprops/action-gh-release@v2
15
+ if : github.ref_type == 'tag'
13
16
with :
14
- fetch-depth : 0
15
- - uses : scottbrenner/generate-changelog-action@master
16
- id : Changelog
17
+ generate_release_notes : true
18
+ prerelease : ${{ contains(github.ref, '-rc') }}
17
19
env :
18
- REPO : ${{ github.repository }}
19
- - uses : actions/create-release@latest
20
- env :
21
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
22
- with :
23
- tag_name : ${{ github.ref }}
24
- release_name : ${{ github.ref }}
25
- body : |
26
- ${{ steps.Changelog.outputs.changelog }}
27
- draft : false
28
- prerelease : false
20
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments