In Azure DevOps, I'd like to use the dotnet core CLI task to push a package with the --skip-duplicate option set. How do I do that?
I tried to set arguments: --skip-duplicate
, but that's not getting reflected in the executed command.
I tried custom command with custom: nuget push
, but that indicates nuget push isn't a valid custom command.
How do I make the DotNetCorCLI@2 task perform dotnet nuget push <pathspec> --skip-duplicate
(with also the --source
option set to an internal package source)