File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818 required : false
1919 type : boolean
2020 default : true
21+ publish-myget-rc :
22+ description : ' Publish to MyGet.org RC feed'
23+ required : false
24+ type : boolean
25+ default : false
2126 publish-nuget-org :
2227 description : ' Publish to NuGet.org'
2328 required : false
6267 run : |
6368 dotnet nuget push "build\output\*.nupkg" -k ${{ secrets.MYGET_TOKEN }} -s https://www.myget.org/F/opensilver/api/v2/package
6469
70+ - name : Upload packages to MyGet RC feed
71+ if : ${{ inputs['publish-myget-rc'] }}
72+ run : |
73+ dotnet nuget push "build\output\*.nupkg" -k ${{ secrets.MYGET_RC_TOKEN }} -s ${{ secrets.MYGET_RC_FEED }}
74+
6575 - name : Upload packages to NuGet.org
6676 if : ${{ inputs['publish-nuget-org'] }}
6777 run : |
68- dotnet nuget push "build\output\*.nupkg" -k ${{ secrets.NUGET_ORG_API_KEY }} -s https://api.nuget.org/v3/index.json
78+ dotnet nuget push "build\output\*.nupkg" -k ${{ secrets.NUGET_ORG_API_KEY }} -s https://api.nuget.org/v3/index.json
You can’t perform that action at this time.
0 commit comments