Skip to content

Commit 856369e

Browse files
committed
Fix 'Push to MyGet'
1 parent 22c3a14 commit 856369e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

azure-pipelines.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,11 @@ steps:
8686
inputs:
8787
PathtoPublish: '$(Build.ArtifactStagingDirectory)'
8888

89+
# -n true --> https://github.com/NuGet/Home/issues/8148
8990
- task: DotNetCoreCLI@2
9091
displayName: Push to MyGet
9192
condition: and(succeeded(), ne(variables['Build.Reason'], 'PullRequest')) # Do not run for PullRequests
9293
inputs:
9394
command: custom
9495
custom: nuget
95-
arguments: push $(Build.ArtifactStagingDirectory)\packages\*.nupkg --source https://www.myget.org/F/system-linq-dynamic-core/api/v3/index.json --no-service-endpoint --api-key $(MyGetKey)
96+
arguments: push $(Build.ArtifactStagingDirectory)\packages\*.nupkg -n true -s https://www.myget.org/F/system-linq-dynamic-core/api/v3/index.json --no-service-endpoint --api-key $(MyGetKey)

0 commit comments

Comments
 (0)