File tree Expand file tree Collapse file tree 2 files changed +26
-1
lines changed Expand file tree Collapse file tree 2 files changed +26
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Packages Publish
2+ on :
3+ release :
4+ types : [created]
5+
6+ jobs :
7+ nuget-publish :
8+ runs-on : ubuntu-latest
9+ permissions :
10+ contents : read
11+ packages : write
12+ steps :
13+ - name : Checkout
14+ uses : actions/checkout@master
15+
16+ - name : Set up dotnet
17+ uses : actions/setup-dotnet@v2
18+ with :
19+ dotnet-version : 6.0.x
20+
21+ - name : Pack
22+ run : dotnet pack -c Release -o ./nuget
23+
24+ - name : Publish
25+ run : dotnet nuget push "./nuget/*.nupkg" -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_API_KEY }}
Original file line number Diff line number Diff line change 22 <PropertyGroup >
33 <VersionMajor >4</VersionMajor >
44 <VersionMinor >1</VersionMinor >
5- <VersionPatch >65 </VersionPatch >
5+ <VersionPatch >66 </VersionPatch >
66 <VersionPrefix >$(VersionMajor).$(VersionMinor).$(VersionPatch)</VersionPrefix >
77 </PropertyGroup >
88</Project >
You can’t perform that action at this time.
0 commit comments