[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.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