Skip to content
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

Change location of nuget.config #357

Open
2 of 5 tasks
mark-mybaggage opened this issue Dec 16, 2022 · 2 comments
Open
2 of 5 tasks

Change location of nuget.config #357

mark-mybaggage opened this issue Dec 16, 2022 · 2 comments
Labels
feature request New feature or request to improve the current logic investigation The issue is under investigation

Comments

@mark-mybaggage
Copy link

Description:
Is it possible to change the location of the nuget.config file generated by the task?

Task version:
v3.0.3

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

Repro steps:
After this action has executed, a nuget.config file with an authenticated package source as follows:

dotnet-auth: Finding any source references in /home/runner/work/test7/test7/nuget.config, writing a new temporary configuration file with credentials to /home/runner/work/test7/nuget.config

A later step requires the nuget.config to be located in /home/runner/work/test7/test7/nuget.config. At the moment I'm juts mooving the generated file to the desired location, however it would be nicer to have the action put it in the desired place?

Expected behavior:
Ability to have the nuget.config file created at /home/runner/work/test7/test7/nuget.config

Actual behavior:
Unable to change the behaviour of the nuget.config file

@mark-mybaggage mark-mybaggage added bug Something isn't working needs triage labels Dec 16, 2022
@IvanZosimov
Copy link
Contributor

Hi, @mark-mybaggage 👋 Thank you for this feature request, we will take a look at it and get back to you with updates.

@IvanZosimov IvanZosimov added feature request New feature or request to improve the current logic and removed bug Something isn't working labels Dec 19, 2022
@nikolai-laevskii nikolai-laevskii added investigation The issue is under investigation and removed needs eyes labels Aug 3, 2023
@flaviotoribio
Copy link

Managed to work around this by using the config-file option:

- uses: actions/setup-dotnet@v4
  with:
    config-file: 'subfolder/nuget.config'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request to improve the current logic investigation The issue is under investigation
Projects
None yet
Development

No branches or pull requests

4 participants