Skip to content

Read arguments when using dotnet push #21058

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

Joren-Thijs-KasparSolutions

Context

This PR aims to address #20981 by providing an option to pass --skip-duplicate in the arguments input and have these arguments be applied when using the dotnet push command.


Task Name

DotNetCoreCLI@2


Description

  • Read arguments input and add it to the dotnet command when using dotnet nuget push.
  • Add a test to verify the argumetns are being read correctly and adding --skip-duplicates works correctly.

Risk Assessment (Low / Medium / High)

The risk of the change is minimal considering it is the inclusion of an already optional paramter.


Unit Tests Added or Updated (Yes / No)

One unit test was added to test the specific use case that motivates this PR and the implementation.


Documentation Changes Required (Yes / No)

Yes the following documentation needs to be updated to state that the arguments input is also used when command = push


Checklist

  • Related issue linked (if applicable)
  • Task version was bumped — see versioning guide
  • Verified the task behaves as expected

@Joren-Thijs-KasparSolutions
Copy link
Author

@microsoft-github-policy-service agree company="Kaspar-Solutions"

@Joren-Thijs-KasparSolutions Joren-Thijs-KasparSolutions changed the title Users/joren/add arguments to nuget push Read arguments when using dotnet push May 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant