Skip to content

Commit ded22f0

Browse files
authored
docs(Common): Fix .NET CLI statements for NuGet source (#3166)
1 parent 9378c7e commit ded22f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deployment/nuget-keys.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,13 +87,13 @@ You can use the .NET CLI `add source` or `update source` commands to set the cre
8787
* To set the credentials in Azure DevOps:
8888

8989
````SH.skip-repl
90-
dotnet nuget add source 'TelerikOnlineFeed' --source 'https://nuget.telerik.com/v3/index.json' --username 'api-key' --password '$(TELERIK_NUGET_KEY)' --configfile './NuGet.Config' --store-password-in-clear-text
90+
dotnet nuget add source 'https://nuget.telerik.com/v3/index.json' --name 'TelerikOnlineFeed' --username 'api-key' --password '$(TELERIK_NUGET_KEY)' --configfile './NuGet.Config' --store-password-in-clear-text
9191
````
9292
9393
* To set the credentials in GitHub Actions:
9494
9595
````SH.skip-repl
96-
dotnet nuget add source 'TelerikOnlineFeed' --source 'https://nuget.telerik.com/v3/index.json' --username 'api-key' --password '${{ "{{secrets.TELERIK_NUGET_KEY}}" }}' --configfile './NuGet.Config' --store-password-in-clear-text
96+
dotnet nuget add source 'https://nuget.telerik.com/v3/index.json' --name 'TelerikOnlineFeed' --username 'api-key' --password '${{ "{{secrets.TELERIK_NUGET_KEY}}" }}' --configfile './NuGet.Config' --store-password-in-clear-text
9797
````
9898
9999
> When restoring NuGet packages through the CLI, [use `dotnet restore` rather than `nuget restore` to avoid compatibility errors](slug:common-kb-package-telerik-pivot-not-compatible-with-netframework).

0 commit comments

Comments
 (0)