You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by ni...@apache.org on 2020/11/12 09:20:49 UTC
[lucenenet] 06/07: azure-pipelines.yml: Publish NuGet artifacts
before publish results
This is an automated email from the ASF dual-hosted git repository.
nightowl888 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucenenet.git
commit adbc2983e933c6ef35679052ed83239153846092
Author: Shad Storhaug <sh...@shadstorhaug.com>
AuthorDate: Thu Nov 12 09:32:05 2020 +0700
azure-pipelines.yml: Publish NuGet artifacts before publish results
---
azure-pipelines.yml | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 50e305a..4cad145 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -202,6 +202,20 @@ stages:
Contents: '**/bin/$(BuildConfiguration)/**/*.pdb'
TargetFolder: '$(Build.ArtifactStagingDirectory)/$(DebugArtifactName)'
+ - task: PublishPipelineArtifact@1
+ displayName: 'Publish Artifact: $(NuGetArtifactName)'
+ inputs:
+ targetPath: '$(Build.ArtifactStagingDirectory)/$(NuGetArtifactName)'
+ artifact: '$(NuGetArtifactName)'
+ publishLocation: 'pipeline'
+
+ - task: PublishPipelineArtifact@1
+ displayName: 'Publish Artifact: $(DebugArtifactName)'
+ inputs:
+ targetPath: '$(Build.ArtifactStagingDirectory)/$(DebugArtifactName)'
+ artifact: '$(DebugArtifactName)'
+ publishLocation: 'pipeline'
+
- template: 'build/azure-templates/publish-test-binaries.yml'
parameters:
publishDirectory: $(PublishTempDirectory)
@@ -229,20 +243,6 @@ stages:
framework: 'net48'
binaryArtifactName: '$(BinaryArtifactName)'
testSettingsFilePath: '$(Build.ArtifactStagingDirectory)/$(TestSettingsFileName)'
-
- - task: PublishPipelineArtifact@1
- displayName: 'Publish Artifact: $(NuGetArtifactName)'
- inputs:
- targetPath: '$(Build.ArtifactStagingDirectory)/$(NuGetArtifactName)'
- artifact: '$(NuGetArtifactName)'
- publishLocation: 'pipeline'
-
- - task: PublishPipelineArtifact@1
- displayName: 'Publish Artifact: $(DebugArtifactName)'
- inputs:
- targetPath: '$(Build.ArtifactStagingDirectory)/$(DebugArtifactName)'
- artifact: '$(DebugArtifactName)'
- publishLocation: 'pipeline'
- job: Docs
condition: and(succeeded(), eq(variables['GenerateDocs'], 'true'))