File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Build Package
22
3- on : push
3+ on :
4+ push :
5+ pull_request :
46
57defaults :
68 run :
1517 os : [ubuntu-latest, windows-latest]
1618
1719 steps :
18- - name : Code Checkout
19- uses : actions/checkout@v6
20+ - uses : actions/checkout@v7
2021
2122 - name : Install DotNet
2223 uses : actions/setup-dotnet@v5
4142 with :
4243 name : Packages
4344 path : ./src/publish/
45+
46+ release :
47+ if : startsWith(github.ref, 'refs/tags/')
48+ needs : build
49+ permissions :
50+ contents : write
51+ runs-on : ubuntu-latest
52+
53+ steps :
54+ - uses : actions/checkout@v7
55+
56+ - name : Extract changelog entry
57+ run : |
58+ awk '/^## \[/{if(f) exit; f=1; next} f' \
59+ Simplify.Web.Swagger/CHANGELOG.md \
60+ > /tmp/release_notes.md
61+
62+ - name : Create release
63+ env :
64+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
65+ run : |
66+ gh release create "${{ github.ref_name }}" \
67+ --title "${{ github.ref_name }}" \
68+ --notes-file /tmp/release_notes.md
Original file line number Diff line number Diff line change 22
33## [ 2.1.0] - 2026-06-26
44
5-
65### Added
76
87- .NET 10.0 explicit support
You can’t perform that action at this time.
0 commit comments