File tree Expand file tree Collapse file tree 3 files changed +11
-5
lines changed Expand file tree Collapse file tree 3 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: GitHub packages NuGet generation
33on :
44 push :
55 branches :
6- - develop
6+ - master
77
88jobs :
99 build :
2222 - name : Build solution and generate NuGet package
2323 run : |
2424 cd src\netstandard\
25- dotnet pack -c Release -o out /p:Version=20 .0.${env:BUILD_NUMBER}-develop
25+ dotnet pack -c Release -o out /p:Version=21 .0.${env:BUILD_NUMBER}-develop
2626
2727 - name : Install NuGet client
2828 uses : warrenbuckley/Setup-Nuget@v1
3131 run : nuget sources add -name "GPR" -Source https://nuget.pkg.github.com/Code-Sharp/index.json -Username Code-Sharp -Password ${{ secrets.GITHUB_TOKEN }}
3232
3333 - name : Push generated package to GitHub registry
34- run : nuget push .\**\ out\*.nupkg -Source "GPR" -SkipDuplicate
34+ run : nuget push .\out\*.nupkg -Source "GPR" -SkipDuplicate
Original file line number Diff line number Diff line change 2525 run : nuget sources add -Name "NuGet Gallery" -Source https://api.nuget.org/v3/index.json
2626
2727 - name : Push generated package to NuGet gallery
28- run : nuget push .\**\out\*.nupkg -Source "NuGet Gallery" -SkipDuplicate -k ${{ secrets.NUGET_TOKEN }}
28+ run : nuget push .\out\*.nupkg -Source "NuGet Gallery" -SkipDuplicate -k ${{ secrets.NUGET_TOKEN }}
29+
30+ - name : Add private GitHub registry to NuGet
31+ run : nuget sources add -name "GPR" -Source https://nuget.pkg.github.com/Code-Sharp/index.json -Username Code-Sharp -Password ${{ secrets.GITHUB_TOKEN }}
32+
33+ - name : Push generated package to GitHub registry
34+ run : nuget push .\out\*.nupkg -Source "GPR" -SkipDuplicate
Original file line number Diff line number Diff line change 2222 <RepositoryUrl >https://github.com/Code-Sharp/WampSharp/</RepositoryUrl >
2323 <projectUrl >https://wampsharp.net/</projectUrl >
2424 <PackageTags >websockets wampws rpc pubsub wampv2</PackageTags >
25- <VersionPrefix >20.0.0 </VersionPrefix >
25+ <VersionPrefix >20.1.1 </VersionPrefix >
2626 </PropertyGroup >
2727</Project >
You can’t perform that action at this time.
0 commit comments