File tree Expand file tree Collapse file tree 2 files changed +20
-1
lines changed
Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Publish to NuGet
2+ on :
3+ release :
4+ types : [ created ]
5+
6+ jobs :
7+ build-publish :
8+ name : Build and Publish
9+ runs-on : windows-latest
10+ steps :
11+ - uses : actions/checkout@v2
12+ - name : Set up .NET
13+ uses : actions/setup-dotnet@v1
14+ with :
15+ dotnet-version : 5.0.6
16+ - name : Pack .nupkg
17+ run : dotnet pack -c Release -o dist
18+ - name : Publish to NuGet
19+ run : dotnet nuget push dist\* --api-key ${{ secrets.NUGET_KEY }} --source https://api.nuget.org/v3/index.json
Original file line number Diff line number Diff line change 1313 <GeneratePackageOnBuild >false</GeneratePackageOnBuild >
1414 <GenerateDocumentationFile >true</GenerateDocumentationFile >
1515 <Product >OVRSharp</Product >
16- <Version >1.0.1 </Version >
16+ <Version >1.0.2 </Version >
1717 </PropertyGroup >
1818
1919 <ItemGroup >
You can’t perform that action at this time.
0 commit comments