[CI] Retire azure pipelines (#2877)
* Delete azure-pipelines.yml * Update dotnet.yml * Delete azure directory
This commit is contained in:
5
.github/workflows/dotnet.yml
vendored
5
.github/workflows/dotnet.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user