@@ -46,16 +46,16 @@ steps:
4646
4747- script : dotnet pack Aquality.Selenium\src\Aquality.Selenium\Aquality.Selenium.csproj -c $(buildConfiguration) --no-build -p:Version=$(GitVersion.NuGetVersion) -o $(Build.ArtifactStagingDirectory)
4848 displayName : ' Create NuGet package'
49- condition : and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
49+ # condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
5050
51- - task : NuGetCommand@2
52- displayName : ' Push NuGet package'
53- inputs :
54- command : ' push'
55- packagesToPush : ' $(Build.ArtifactStagingDirectory)/**/Aquality.Selenium*.nupkg;!$(Build.ArtifactStagingDirectory)/**/Aquality.Selenium*.symbols.nupkg'
56- nuGetFeedType : ' external'
57- publishFeedCredentials : ' NuGet'
58- condition : and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
51+ # - task: NuGetCommand@2
52+ # displayName: 'Push NuGet package'
53+ # inputs:
54+ # command: 'push'
55+ # packagesToPush: '$(Build.ArtifactStagingDirectory)/**/Aquality.Selenium*.nupkg;!$(Build.ArtifactStagingDirectory)/**/Aquality.Selenium*.symbols.nupkg'
56+ # nuGetFeedType: 'external'
57+ # publishFeedCredentials: 'NuGet'
58+ # condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
5959
6060- task : GitHubRelease@0
6161 displayName : ' Create tag on GitHub'
@@ -66,4 +66,10 @@ steps:
6666 tag : ' v$(GitVersion.NuGetVersion)'
6767 tagSource : ' manual'
6868 isPreRelease : contains(variables['GitVersion.NuGetVersion'], '-')
69- condition : and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
69+ condition : and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master'))
70+
71+ - task : PublishBuildArtifacts@1
72+ inputs :
73+ PathtoPublish : ' $(Build.ArtifactStagingDirectory)'
74+ ArtifactName : ' _aquality-automation.aquality-selenium-dotnet'
75+ publishLocation : ' Container'
0 commit comments