Skip to content

Commit

Permalink
Merge pull request #2546 from dibarbet/workaround_artifact_upload
Browse files Browse the repository at this point in the history
Bypass nuget.org publishing due to auth failures temporarily
  • Loading branch information
dibarbet committed Jun 21, 2023
2 parents 8b293ef + 37e05dc commit 0f52655
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions azure-pipelines.yml
Expand Up @@ -153,15 +153,16 @@ jobs:
publishVstsFeed: Builds/omnisharp
allowPackageConflicts: true
condition: and(succeeded(), or(startsWith(variables['Build.SourceBranch'], 'refs/tags/v'), eq(variables['Build.SourceBranch'], 'refs/heads/master')))
- task: NuGetCommand@2
displayName: "Push NuGet packages to nuget.org"
inputs:
command: push
nuGetFeedType: external
packagesToPush: "$(System.ArtifactsDirectory)/nuget/**/*.nupkg"
publishFeedCredentials: nuget.org
allowPackageConflicts: true
condition: and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/v'))
# Temporarily disable publishing to nuget.org while we attempt to renew authentication.
# - task: NuGetCommand@2
# displayName: "Push NuGet packages to nuget.org"
# inputs:
# command: push
# nuGetFeedType: external
# packagesToPush: "$(System.ArtifactsDirectory)/nuget/**/*.nupkg"
# publishFeedCredentials: nuget.org
# allowPackageConflicts: true
# condition: and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/v'))
- script: |
AZ_REPO=$(lsb_release -cs)
echo "deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ $AZ_REPO main" | \
Expand Down

0 comments on commit 0f52655

Please sign in to comment.