Skip to content

Commit

Permalink
Merge pull request #2466 from OmniSharp/dev/jorobich/skip-myget-push
Browse files Browse the repository at this point in the history
Skip pushing packages to MyGet
  • Loading branch information
JoeRobich committed Oct 27, 2022
2 parents 437c157 + 865bded commit a35e889
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions azure-pipelines.yml
Expand Up @@ -145,14 +145,14 @@ jobs:
artifactName: "nuget"
buildType: "current"
downloadPath: "$(System.ArtifactsDirectory)"
- task: NuGetCommand@2
displayName: "Push NuGet packages to myget.org"
inputs:
command: push
nuGetFeedType: external
packagesToPush: "$(System.ArtifactsDirectory)/nuget/**/*.nupkg"
publishFeedCredentials: myget.org
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 myget.org"
# inputs:
# command: push
# nuGetFeedType: external
# packagesToPush: "$(System.ArtifactsDirectory)/nuget/**/*.nupkg"
# publishFeedCredentials: myget.org
# 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:
Expand Down

0 comments on commit a35e889

Please sign in to comment.