File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -192,9 +192,15 @@ jobs:
192192 shell : pwsh
193193 run : ./ci-pack.ps1
194194
195- - name : MyGet Publish
195+ - name : Feedz Publish
196196 shell : pwsh
197197 run : |
198- dotnet nuget push .\artifacts\*.nupkg -k ${{secrets.MYGET_TOKEN}} -s https://www.myget.org/F/sixlabors/api/v2/package
199- dotnet nuget push .\artifacts\*.snupkg -k ${{secrets.MYGET_TOKEN}} -s https://www.myget.org/F/sixlabors/api/v3/index.json
200- # TODO: If github.ref starts with 'refs/tags' then it was tag push and we can optionally push out package to nuget.org
198+ dotnet nuget push .\artifacts\*.nupkg -k ${{secrets.FEEDZ_TOKEN}} -s https://f.feedz.io/sixlabors/sixlabors/nuget/index.json --skip-duplicate
199+ dotnet nuget push .\artifacts\*.snupkg -k ${{secrets.FEEDZ_TOKEN}} -s https://f.feedz.io/sixlabors/sixlabors/symbols --skip-duplicate
200+ - name : NuGet Publish
201+ if : ${{ startsWith(github.ref, 'refs/tags/') }}
202+ shell : pwsh
203+ run : |
204+ dotnet nuget push .\artifacts\*.nupkg -k ${{secrets.NUGET_TOKEN}} -s https://api.nuget.org/v3/index.json --skip-duplicate
205+ dotnet nuget push .\artifacts\*.snupkg -k ${{secrets.NUGET_TOKEN}} -s https://api.nuget.org/v3/index.json --skip-duplicate
206+
You can’t perform that action at this time.
0 commit comments