[CI] Retire azure pipelines (#2877)

* Delete azure-pipelines.yml

* Update dotnet.yml

* Delete azure directory
This commit is contained in:
Mihail Gribkov
2024-03-13 20:51:52 +03:00
committed by GitHub
parent def372cb31
commit d68e06e27d
6 changed files with 5 additions and 148 deletions

View File

@@ -116,6 +116,7 @@ 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'
@@ -125,6 +126,10 @@ 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