Skip to content

GitHub Action to ensure NuGet has the correct source set up.

License

Notifications You must be signed in to change notification settings

fabriciomurta/ensure-nuget-source

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ensure NuGet Source

This action ensures NuGet is set up to the public NuGet sources URL or a specified url/path passed in.

By default it uses nuget.org as the source name and https://api.nuget.org/v3/index.json as the source URL/path.

Usage

- uses: fabriciomurta/ensure-nuget-source@v1
  with:
    # The name that should be used when adding the source if not present.
    # The action will check if the name exists; if it does, then its url/path
    # is updated to point to the desired URL value.
    name: 'nuget.org'

    # The url that should be present and enabled in the source list. If not
    # present, will be added. If present and disabled, enabled.
    url: 'https://api.nuget.org/v3/index.json'

License

The scripts and documentation in this project are released under the MIT License

About

GitHub Action to ensure NuGet has the correct source set up.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages