.github/workflows/push_packages.yml #3
Annotations
5 errors
push
error: The source specified has already been added to the list of available package sources. Provide a unique source.
|
push
Add source error: "Nuke.Common.Tooling.ProcessException: Process 'dotnet' exited with code 1.
> /usr/bin/dotnet nuget add source https://api.nuget.org/v3/index.json --name api.nuget.org
@ /home/runner/work/unit/unit
Standard output:
error: The source specified has already been added to the list of available package sources. Provide a unique source.
Usage: dotnet nuget add source [arguments] [options]
Arguments:
PackageSourcePath Path to the package source.
Options:
-n|--name Name of the source.
-u|--username Username to be used when connecting to an authenticated source.
-p|--password Password to be used when connecting to an authenticated source.
--store-password-in-clear-text Enables storing portable package source credentials by disabling password encryption.
--valid-authentication-types Comma-separated list of valid authentication types for this source. Set this to basic if the server advertises NTLM or Negotiate and your credentials must be sent using the Basic mechanism, for instance when using a PAT with on-premises Azure DevOps Server. Other valid values include negotiate, kerberos, ntlm, and digest, but these values are unlikely to be useful.
--protocol-version The NuGet server protocol version to be used. Currently supported versions are 2 and 3. See https://learn.microsoft.com/nuget/api/overview for information about the version 3 protocol. Defaults to 2 if not specified.
--configfile The NuGet configuration file. If specified, only the settings from this file will be used. If not specified, the hierarchy of configuration files from the current directory will be used. For more information, see https://docs.microsoft.com/nuget/consume-packages/configuring-nuget-behavior.
-h|--help Show help information
at Nuke.Common.Tooling.ProcessExtensions.AssertZeroExitCode(IProcess process) in /_/source/Nuke.Tooling/ProcessExtensions.cs:line 39
at Nuke.Common.Tooling.ProcessTasks.DefaultExitHandler(ToolSettings toolSettings, IProcess process) in /_/source/Nuke.Tooling/ProcessTasks.cs:line 257
at Nuke.Common.Tools.DotNet.DotNetTasks.DotNetNuGetAddSource(DotNetNuGetAddSourceSettings toolSettings) in /_/source/Nuke.Common/Tools/DotNet/DotNet.Generated.cs:line 1063
at Nuke.Common.Tools.DotNet.DotNetTasks.DotNetNuGetAddSource(Configure`1 configurator) in /_/source/Nuke.Common/Tools/DotNet/DotNet.Generated.cs:line 1084
at Components.INugetPush.<get_NugetPush>b__5_3() in /home/runner/work/unit/unit/build/Components/INugetPush.cs:line 31"
|
push
error: The specified source 'api.nuget.org' is invalid. Provide a valid source.
|
push
Target "NugetPush" has thrown an exception
|
push
Process completed with exit code 255.
|