actions / setup-dotnet

Set up your GitHub Actions workflow with a specific version of the .NET core sdk
MIT License
922 stars 454 forks source link

Change location of nuget.config #357

Open mark-mybaggage opened 1 year ago

mark-mybaggage commented 1 year ago

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

Task version: v3.0.3

Platform:

Runner type:

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

IvanZosimov commented 1 year ago

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