Support for AWS CodeArtifact NuGet Repositories
Description: My organization heavily uses AWS CodeArtifact for Private NuGet Package Hosting.
Currently we have a private action running the following lines on ubuntu-latest without much complaint:
- name: Prepare NuGet Repository
run: |
dotnet tool install -g AWS.CodeArtifact.NuGet.CredentialProvider
dotnet codeartifact-creds install
dotnet nuget remove source nuget.org
dotnet nuget add source "${{ inputs.aws-code-artifact-nuget-source }}" -n "${{ inputs.nuget-feed-name }}"
shell: bash
Note: removal of the default nuget.org source is only necessary for us as our CodeArtifact Repository is configured as a pass through cache to nuget.org.
Justification:
Adding this into the upstream setup-dotnet action would allow us to deprecate our private action. I'm opening this as a feature request to gauge interest for others that desire this support.
Are you willing to submit a PR? Absolutely! If additional interest, I'll pick this up in short order. If not, I'll manage a PR the next time I have to update my private action.
Hello @Habikki Thank you for your feature request, we will investigate it and come back to you as soon as we have some information 🙂
Any update here? Has been over a year with no movement