File tree Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -55,9 +55,18 @@ steps:
55
55
projects : Aquality.Selenium/src/Aquality.Selenium/Aquality.Selenium.csproj
56
56
arguments : -c $(buildConfiguration) --no-build -o $(build.artifactStagingDirectory)
57
57
58
- - task : PublishBuildArtifacts@1
59
- displayName : ' Publish build artifacts '
58
+ - task : NuGetCommand@2
59
+ displayName : ' Push NuGet package '
60
60
inputs :
61
- PathtoPublish : ' $(system.defaultworkingdirectory)'
62
- ArtifactName : ' sources'
63
- publishLocation : ' Container'
61
+ command : ' push'
62
+ packagesToPush : ' $(Build.ArtifactStagingDirectory)/**/Aquality.Selenium*.nupkg;!$(Build.ArtifactStagingDirectory)/**/Aquality.Selenium*.symbols.nupkg'
63
+ nuGetFeedType : ' external'
64
+ publishFeedCredentials : ' NuGet'
65
+ condition : and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
66
+
67
+ # - task: PublishBuildArtifacts@1
68
+ # displayName: 'Publish build artifacts'
69
+ # inputs:
70
+ # PathtoPublish: '$(system.defaultworkingdirectory)'
71
+ # ArtifactName: 'sources'
72
+ # publishLocation: 'Container'
You can’t perform that action at this time.
0 commit comments