File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -239,7 +239,8 @@ jobs:
239239 API_KEY : ${{ secrets.MYGET_TOKEN }}
240240 PACKAGE_VERSION : ${{ needs.build.outputs.package-version }}
241241 SOURCE : " https://www.myget.org/F/domaindrivendev/api/v3/index.json"
242- run : dotnet nuget push "*.nupkg" --api-key "${API_KEY}" --skip-duplicate --source "${SOURCE}" && echo "::notice title=myget.org::Published version ${PACKAGE_VERSION} to MyGet."
242+ run : | # zizmor: ignore[use-trusted-publishing] MyGet does not support trusted publishing
243+ dotnet nuget push "*.nupkg" --api-key "${API_KEY}" --skip-duplicate --source "${SOURCE}" && echo "::notice title=myget.org::Published version ${PACKAGE_VERSION} to MyGet."
243244
244245 publish-nuget :
245246 needs : [ build, validate-packages ]
@@ -269,4 +270,5 @@ jobs:
269270 API_KEY : ${{ secrets.NUGET_TOKEN }}
270271 PACKAGE_VERSION : ${{ needs.build.outputs.package-version }}
271272 SOURCE : https://api.nuget.org/v3/index.json
272- run : dotnet nuget push "*.nupkg" --api-key "${API_KEY}" --skip-duplicate --source "${SOURCE}" && echo "::notice title=nuget.org::Published version ${PACKAGE_VERSION} to NuGet.org."
273+ run : |
274+ dotnet nuget push "*.nupkg" --api-key "${API_KEY}" --skip-duplicate --source "${SOURCE}" && echo "::notice title=nuget.org::Published version ${PACKAGE_VERSION} to NuGet.org."
You can’t perform that action at this time.
0 commit comments