[Docs + CI] Yeet MyGet (#2904)

* Update index.md

* Update README.md

* Update dotnet.yml
This commit is contained in:
Mihail Gribkov
2024-04-13 23:40:01 +03:00
committed by GitHub
parent 3f05f42aa8
commit 678a080756
3 changed files with 9 additions and 10 deletions

View File

@@ -116,7 +116,6 @@ jobs:
nuget setApiKey ${{ secrets.NUGET_API_KEY }} -Source https://api.nuget.org/v3/index.json nuget setApiKey ${{ secrets.NUGET_API_KEY }} -Source https://api.nuget.org/v3/index.json
nuget setApiKey ${{ secrets.NIGHTLY_FEED_API_KEY }} -Source ${{ vars.NIGHTLY_FEED }} nuget setApiKey ${{ secrets.NIGHTLY_FEED_API_KEY }} -Source ${{ vars.NIGHTLY_FEED }}
nuget setApiKey ${{ secrets.GITHUB_TOKEN }} -Source ${{ env.REPOSITORY_URL }} nuget setApiKey ${{ secrets.GITHUB_TOKEN }} -Source ${{ env.REPOSITORY_URL }}
nuget setApiKey ${{ secrets.MYGET_API_KEY }} -Source https://www.myget.org/F/discord-net/api/v2/package
- name: Push Nightly - name: Push Nightly
if: vars.PUSH_NIGHTLY == 'true' if: vars.PUSH_NIGHTLY == 'true'
@@ -126,10 +125,6 @@ jobs:
if: vars.PUSH_NIGHTLY == 'true' if: vars.PUSH_NIGHTLY == 'true'
run: nuget push "${{ env.ArtifactStagingDirectory }}/*.nupkg" -Source ${{ env.REPOSITORY_URL }} run: nuget push "${{ env.ArtifactStagingDirectory }}/*.nupkg" -Source ${{ env.REPOSITORY_URL }}
- name: Push Nightly to MyGet
if: vars.PUSH_MYGET == 'true'
run: nuget push "${{ env.ArtifactStagingDirectory }}/*.nupkg" -Source https://www.myget.org/F/discord-net/api/v2/package
- name: Push Release - name: Push Release
if: env.IsTagBuild == 'true' && vars.PUSH_NUGET == 'true' if: env.IsTagBuild == 'true' && vars.PUSH_NUGET == 'true'
run: nuget push "${{ env.ArtifactStagingDirectory }}/*.nupkg" -Source https://api.nuget.org/v3/index.json run: nuget push "${{ env.ArtifactStagingDirectory }}/*.nupkg" -Source https://api.nuget.org/v3/index.json

View File

@@ -57,10 +57,15 @@ The individual components may also be installed from NuGet:
- _The API core. Implements only entities and barebones functionality._ - _The API core. Implements only entities and barebones functionality._
- [Discord.Net.Core](https://www.nuget.org/packages/Discord.Net.Core/) - [Discord.Net.Core](https://www.nuget.org/packages/Discord.Net.Core/)
### Unstable ### Nightlies
Nightly builds are available through our MyGet feed (`https://www.myget.org/F/discord-net/api/v3/index.json`). Nightlies are builds of Discord.NET that are still in an experimental phase, and have not been released.
These builds target the dev branch. They are available through 2 different sources:
- [BaGet](https://baget.discordnet.dev/)
- [GitHub Packages](https://github.com/orgs/discord-net/packages?repo_name=Discord.Net)
> [!NOTE]
> GitHub Packages requires authentication. You can find more information [here](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-nuget-registry#authenticating-to-github-packages).
## 🛑 Known Issues ## 🛑 Known Issues

View File

@@ -33,8 +33,7 @@ objects in the library.
## Nightlies ## Nightlies
Nightlies are builds of Discord.NET that are still in an experimental phase, and have not been released. Nightlies are builds of Discord.NET that are still in an experimental phase, and have not been released.
They are available through 3 different sources: They are available through 2 different sources:
- [MyGet](https://www.myget.org/F/discord-net/api/v3/index.json)
- [BaGet](https://baget.discordnet.dev/) - [BaGet](https://baget.discordnet.dev/)
- [GitHub Packages](https://github.com/orgs/discord-net/packages?repo_name=Discord.Net) - [GitHub Packages](https://github.com/orgs/discord-net/packages?repo_name=Discord.Net)