diff --git a/.azure-pipelines/templates/service.yaml b/.azure-pipelines/templates/service.yaml index 2e4a9a613..d764be972 100644 --- a/.azure-pipelines/templates/service.yaml +++ b/.azure-pipelines/templates/service.yaml @@ -110,14 +110,12 @@ stages: steps: - checkout: self - ${{ each dep in parameters.serviceDependencies }}: - - download: current + - task: DownloadPipelineArtifact@2 displayName: Download artifacts from ${{ dep }} dependency - artifact: ${{ dep }} - - task: CopyFiles@2 - displayName: Copy artifacts from ${{ dep }} dependency inputs: - Contents: '$(Agent.WorkFolder)/${{dep}}' - TargetFolder: '$(Build.Repository.LocalPath)' + artifact: ${{ dep }} + patterns: '**/*' + path: '$(Build.Repository.LocalPath)' - ${{ each buildStep in parameters.buildSteps }}: - template: ./service/build-step.yaml parameters: