setup-dotnet icon indicating copy to clipboard operation
setup-dotnet copied to clipboard

Support for AWS CodeArtifact NuGet Repositories

Open Habikki opened this issue 3 years ago • 2 comments

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.

Habikki avatar Jan 20 '23 15:01 Habikki

Hello @Habikki Thank you for your feature request, we will investigate it and come back to you as soon as we have some information 🙂

marko-zivic-93 avatar Jan 20 '23 15:01 marko-zivic-93

Any update here? Has been over a year with no movement

byangtri avatar Sep 25 '24 18:09 byangtri