actions / actions/setup-dotnet
Support registration manual NuGet source to NuGet.Config
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.2k
- Forks
- 572
- Avg merge
- 12d 20h
- Merged PRs (30d)
- 1
Description
Description:
Support registration manual NuGet source to NuGet.Config
Justification:
When we uses private NuGet repository like nexus, We need to configure our source to NuGet.Config.
I'm currently using with these code, But It is too long and scattered in many workflows.
- name: Add NuGet source (Private Nexus)
id: add-nuget-source
run: |
dotnet nuget remove source Nexus | true
dotnet nuget add source ${{ secrets.PRIVATE_NUGET_SOURCE }} \
--name Nexus \
--username ${{ secrets.PRIVATE_AGENT_NEXUS_USERNAME }} \
--password ${{ secrets.PRIVATE_AGENT_NEXUS_PASSWORD }} \
--store-password-in-clear-text
Also, we need to remove this configure with these code when using ghcr.
- name: Remove NuGet source (Private Nexus)
if: ${{ always() && steps.add-nuget-source.conclusion == 'success' }}
run: dotnet nuget remove source Nexus | true
Are you willing to submit a PR?
Yes, I'm interested in. But I need a help.
I don't know nice way to resolve these many arguments. Some idea please
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the setup-dotnet action inputs and the workflow steps shown in the issue, with attention to how NuGet.Config and the dotnet nuget commands are currently handled. Done should provide a defined way to register a manual private NuGet source without repeated add/remove steps across workflows, but the input design still needs maintainer guidance.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions, typescript
- Domain
- devops, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100