A GitHub action that logs into a NuGet registry.
The URL of the NuGet registry to log in to.
The name to use for the registry.
Equivalent to the --name
parameter of the nuget sources add
command.
The username to use for the login. Use a secret to avoid exposing it in the logs.
Equivalent to the --username
parameter of the nuget sources add
command.
The password to use for the login. Use a secret to avoid exposing it in the logs.
Equivalent to the --password
parameter of the nuget sources add
command.
Whether to store the password in cleartext. The cleanup of this action will remove it again.
Equivalent to the --store-password-in-clear-text
parameter of the nuget sources add
command.
The path to the NuGet configuration file. Uses the default config file by default.
Equivalent to the --configfile
parameter of the nuget sources add
command.
uses: sersoft-gmbh/dotnet-nuget-login-action@v1
with:
registry-url: 'https://nuget.example.com/v3/index.json'
registry-name: example
username: ${{ secrets.NUGET_USERNAME }}
password: ${{ secrets.NUGET_PASSWORD }}