From 678a08075649b9b5ebc95c0c13ebaede6e24a743 Mon Sep 17 00:00:00 2001 From: Mihail Gribkov <61027276+Misha-133@users.noreply.github.com> Date: Sat, 13 Apr 2024 23:40:01 +0300 Subject: [PATCH] [Docs + CI] Yeet MyGet (#2904) * Update index.md * Update README.md * Update dotnet.yml --- .github/workflows/dotnet.yml | 5 ----- README.md | 11 ++++++++--- docs/index.md | 3 +-- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 9e875433..61f8f844 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -116,7 +116,6 @@ jobs: 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.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 if: vars.PUSH_NIGHTLY == 'true' @@ -126,10 +125,6 @@ jobs: if: vars.PUSH_NIGHTLY == 'true' 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 if: env.IsTagBuild == 'true' && vars.PUSH_NUGET == 'true' run: nuget push "${{ env.ArtifactStagingDirectory }}/*.nupkg" -Source https://api.nuget.org/v3/index.json diff --git a/README.md b/README.md index 8c8b25ff..4d00c59a 100644 --- a/README.md +++ b/README.md @@ -57,10 +57,15 @@ The individual components may also be installed from NuGet: - _The API core. Implements only entities and barebones functionality._ - [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`). -These builds target the dev branch. +Nightlies are builds of Discord.NET that are still in an experimental phase, and have not been released. +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 diff --git a/docs/index.md b/docs/index.md index cb56580f..6025ad36 100644 --- a/docs/index.md +++ b/docs/index.md @@ -33,8 +33,7 @@ objects in the library. ## Nightlies 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: -- [MyGet](https://www.myget.org/F/discord-net/api/v3/index.json) +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)