Skip to content

Commit 0f52655

Browse files
authored
Merge pull request #2546 from dibarbet/workaround_artifact_upload
Bypass nuget.org publishing due to auth failures temporarily
2 parents 8b293ef + 37e05dc commit 0f52655

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

azure-pipelines.yml

+10-9
Original file line numberDiff line numberDiff line change
@@ -153,15 +153,16 @@ jobs:
153153
publishVstsFeed: Builds/omnisharp
154154
allowPackageConflicts: true
155155
condition: and(succeeded(), or(startsWith(variables['Build.SourceBranch'], 'refs/tags/v'), eq(variables['Build.SourceBranch'], 'refs/heads/master')))
156-
- task: NuGetCommand@2
157-
displayName: "Push NuGet packages to nuget.org"
158-
inputs:
159-
command: push
160-
nuGetFeedType: external
161-
packagesToPush: "$(System.ArtifactsDirectory)/nuget/**/*.nupkg"
162-
publishFeedCredentials: nuget.org
163-
allowPackageConflicts: true
164-
condition: and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/v'))
156+
# Temporarily disable publishing to nuget.org while we attempt to renew authentication.
157+
# - task: NuGetCommand@2
158+
# displayName: "Push NuGet packages to nuget.org"
159+
# inputs:
160+
# command: push
161+
# nuGetFeedType: external
162+
# packagesToPush: "$(System.ArtifactsDirectory)/nuget/**/*.nupkg"
163+
# publishFeedCredentials: nuget.org
164+
# allowPackageConflicts: true
165+
# condition: and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/v'))
165166
- script: |
166167
AZ_REPO=$(lsb_release -cs)
167168
echo "deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ $AZ_REPO main" | \

0 commit comments

Comments
 (0)