-
Notifications
You must be signed in to change notification settings - Fork 65
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
Add ignore failed sources to possible arguments #638
Conversation
@matteopey it seems a reasonable feature. Can you also update the GitHub Actions definitions to have a parity with the Azure DevOps extension? https://github.com/GitTools/actions/blob/a7350ecf47527e2d8575cd7b194210c5f2e72acb/gitversion/setup/action.yml and |
Thank you @matteopey for your contribution! |
@matteopey I will create a new release today |
Thanks a lot @arturcic |
@matteopey the new extension was published |
Hi,
in my company we are facing the following issue when using the
gitversion/setup
task on Azure DevopsThis happens because for private repositories dotnet needs authentication to be able to read them and because the agent that is running this task has a global nuget configuration that we cannot ignore.
We workaround this issue by directly installing the tool with a bash command
This parameter does what it says: ignore errors on failed sources, which in our case is fine because the tool is not present in our private repository.
This PR add the possibility to pass a new argument to the task that will add the parameter to the argument list of the dotnet command.
The default value is false, so it will not change the current behaviour of the task.