From 08421311b969b517889a180c64cdebef09e8c807 Mon Sep 17 00:00:00 2001 From: Erwin de Haan Date: Fri, 5 Jul 2019 12:10:57 +0200 Subject: [PATCH] Switch download order around. --- .ci/azure-pipelines.yml | 50 ++++++++++++++++++++--------------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/.ci/azure-pipelines.yml b/.ci/azure-pipelines.yml index 2a96bec07..3ab0aa37b 100644 --- a/.ci/azure-pipelines.yml +++ b/.ci/azure-pipelines.yml @@ -120,31 +120,6 @@ jobs: steps: - checkout: none - - task: DownloadPipelineArtifact@2 - displayName: Download the Reference Assembly Build Artifact - inputs: - source: 'specific' # Options: current, specific - #preferTriggeringPipeline: false # Optional - #tags: # Optional - artifact: '$(NugetPackageName)' # Optional - #patterns: '**' # Optional - path: '$(System.ArtifactsDirectory)/current-artifacts' - project: '$(System.TeamProjectId)' # Required when source == Specific - pipeline: '$(System.DefinitionId)' # Required when source == Specific - runVersion: 'latestFromBranch' # Required when source == Specific. Options: latest, latestFromBranch, specific - runBranch: 'refs/heads/$(System.PullRequest.TargetBranch)' # Required when source == Specific && runVersion == LatestFromBranch - #runId: # Required when source == Specific && runVersion == Specific - - - task: CopyFiles@2 - displayName: Copy Nuget Assembly to current-release folder - inputs: - sourceFolder: $(System.ArtifactsDirectory)/current-artifacts # Optional - contents: '**/*.dll' - targetFolder: $(System.ArtifactsDirectory)/current-release - cleanTargetFolder: true # Optional - overWrite: true # Optional - flattenFolders: true # Optional - - task: DownloadPipelineArtifact@2 displayName: Download the New Assembly Build Artifact inputs: @@ -170,6 +145,31 @@ jobs: overWrite: true # Optional flattenFolders: true # Optional + - task: DownloadPipelineArtifact@2 + displayName: Download the Reference Assembly Build Artifact + inputs: + source: 'specific' # Options: current, specific + #preferTriggeringPipeline: false # Optional + #tags: # Optional + artifact: '$(NugetPackageName)' # Optional + #patterns: '**' # Optional + path: '$(System.ArtifactsDirectory)/current-artifacts' + project: '$(System.TeamProjectId)' # Required when source == Specific + pipeline: '$(System.DefinitionId)' # Required when source == Specific + runVersion: 'latestFromBranch' # Required when source == Specific. Options: latest, latestFromBranch, specific + runBranch: 'refs/heads/$(System.PullRequest.TargetBranch)' # Required when source == Specific && runVersion == LatestFromBranch + #runId: # Required when source == Specific && runVersion == Specific + + - task: CopyFiles@2 + displayName: Copy Nuget Assembly to current-release folder + inputs: + sourceFolder: $(System.ArtifactsDirectory)/current-artifacts # Optional + contents: '**/*.dll' + targetFolder: $(System.ArtifactsDirectory)/current-release + cleanTargetFolder: true # Optional + overWrite: true # Optional + flattenFolders: true # Optional + - task: DownloadGitHubRelease@0 displayName: Download ABI compatibility check tool from GitHub inputs: