File tree Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 11name : .NET Core
22
3- on : [push]
3+ on : [push, pull_request ]
44
55jobs :
66 build :
Original file line number Diff line number Diff line change 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 : |
35+ cd src\netstandard\
36+ nuget push .\out\*.nupkg -Source "GPR" -SkipDuplicate
Original file line number Diff line number Diff line change @@ -25,10 +25,14 @@ jobs:
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 : |
29+ cd src\netstandard
30+ nuget push .\out\*.nupkg -Source "NuGet Gallery" -SkipDuplicate -k ${{ secrets.NUGET_TOKEN }}
2931
3032 - name : Add private GitHub registry to NuGet
3133 run : nuget sources add -name "GPR" -Source https://nuget.pkg.github.com/Code-Sharp/index.json -Username Code-Sharp -Password ${{ secrets.GITHUB_TOKEN }}
3234
3335 - name : Push generated package to GitHub registry
34- run : nuget push .\out\*.nupkg -Source "GPR" -SkipDuplicate
36+ run : |
37+ cd src\netstandard
38+ nuget push .\out\*.nupkg -Source "GPR" -SkipDuplicate
You can’t perform that action at this time.
0 commit comments