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 11name : Release
22
33on :
4+ workflow_dispatch :
45 push :
56 tags :
6- - " v* "
7+ - ' v* '
78
89jobs :
910 build :
10- runs-on : ubuntu-latest
11+ runs-on : ubuntu-24.04
1112 steps :
1213 - uses : actions/checkout@v4
14+ - uses : softprops/action-gh-release@v2
15+ if : github.ref_type == 'tag'
1316 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') }}
1719 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