File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8080 release_nuget :
8181 name : Publish NuGet
8282 runs-on : ubuntu-latest
83- if : github.event.inputs.release_nuget == 'true' && github.ref == 'refs/heads/master' # && needs.build.outputs.CommitsSinceVersionSource > 0
83+ if : github.event.inputs.release_nuget == 'true' && github.ref == 'refs/heads/master' # && needs.build.outputs.IsNewVersion
8484 needs : build
8585 steps :
8686 - name : Download lib nuget package artifact
@@ -115,7 +115,7 @@ jobs:
115115 path : ./build_artifacts
116116
117117 - name : Add NuGet source
118- run : dotnet nuget add source --username Delta3-Studio --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/Delta3-Studio/index.json"
118+ run : dotnet nuget add source --username ${{ github.repository_owner }} --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/Delta3-Studio/index.json"
119119
120120 - name : Release GitHub package
121121 run : dotnet nuget push build_artifacts/*.nupkg --api-key ${{ secrets.GITHUB_TOKEN }} --source "github"
You can’t perform that action at this time.
0 commit comments