File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -363,11 +363,15 @@ jobs:
363363 SOURCE_DIR : ' versioned-publish'
364364 DEST_DIR : ' GmodNETStorage/storage'
365365
366- - name : Upload API nuget package
366+ - name : Upload API nuget package to Azure DevOps
367367 run : |
368368 dotnet nuget update source gmodnet-packages --username CI --password ${{ secrets.AZURE_DEVOPS_ARTIFACTS_PAT }} --store-password-in-clear-text
369369 dotnet nuget push nuget-publish/**.nupkg --source gmodnet-packages --api-key az --skip-duplicate
370370
371+ - name : Upload NuGet package to NuGet.org
372+ if : ${{ github.event_name == 'release' }}
373+ run : dotnet nuget push nuget-publish/**.nupkg --source nuget --api-key ${{ secrets.NUGET_API_KEY }} --skip-duplicate
374+
371375 - name : Restore local dotnet tools
372376 run : |
373377 cd csx
You can’t perform that action at this time.
0 commit comments