Skip to content

Commit b1dfd64

Browse files
committed
Update feed instructions in README
1 parent 9b8d301 commit b1dfd64

File tree

1 file changed

+11
-14
lines changed

1 file changed

+11
-14
lines changed

README.md

+11-14
Original file line numberDiff line numberDiff line change
@@ -228,24 +228,21 @@ See also our [versioning policy](./VERSIONING_POLICY.md).
228228

229229
## Trying out the latest build
230230

231-
After each commit to the master branch, a new pre-release NuGet package is automatically published to [GitHub Packages](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-nuget-registry).
231+
After each commit to the master branch, a new pre-release NuGet package is automatically published to [feedz.io](https://feedz.io/docs/package-types/nuget).
232232
To try it out, follow the steps below:
233233

234-
1. [Create a Personal Access Token (classic)](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#creating-a-personal-access-token-classic) with at least `read:packages` scope.
235-
1. Add our package source to your local user-specific `nuget.config` file by running:
236-
```bash
237-
dotnet nuget add source https://nuget.pkg.github.com/json-api-dotnet/index.json --name github-json-api --username YOUR-GITHUB-USERNAME --password YOUR-PAT-CLASSIC
234+
1. Create a `nuget.config` file in the same directory as your .sln file, with the following contents:
235+
```xml
236+
<?xml version="1.0" encoding="utf-8"?>
237+
<configuration>
238+
<packageSources>
239+
<add key="json-api-dotnet" value="https://f.feedz.io/json-api-dotnet/jsonapidotnetcore/nuget/index.json" />
240+
<add key="NuGet" value="https://api.nuget.org/v3/index.json" />
241+
</packageSources>
242+
</configuration>
238243
```
239-
In the command above:
240-
- Replace YOUR-GITHUB-USERNAME with the username you use to login your GitHub account.
241-
- Replace YOUR-PAT-CLASSIC with the token your created above.
242244

243-
:warning: If the above command doesn't give you access in the next step, remove the package source by running:
244-
```bash
245-
dotnet nuget remove source github-json-api
246-
```
247-
and retry with the `--store-password-in-clear-text` switch added.
248-
1. Restart your IDE, open your project, and browse the list of packages from the github-json-api feed (make sure pre-release packages are included).
245+
1. In your IDE, browse the list of packages from the `json-api-dotnet` feed. Make sure pre-release packages are included.
249246

250247
## Contributing
251248

0 commit comments

Comments
 (0)