diff --git a/tools/pipelines/templates/include-generate-notice-steps.yml b/tools/pipelines/templates/include-generate-notice-steps.yml index f466c57a3ff78..c9e52b02271d7 100644 --- a/tools/pipelines/templates/include-generate-notice-steps.yml +++ b/tools/pipelines/templates/include-generate-notice-steps.yml @@ -21,9 +21,8 @@ steps: - task: msospo.ospo-extension.8d7f9abb-6896-461d-9e25-4f74ed65ddb2.notice@0 displayName: 'NOTICE File Generator' -- task: CopyFiles@2 - displayName: 'Copy NOTICE' +- task: DownloadPipelineArtifact@2 + displayName: 'Download NOTICE' inputs: - SourceFolder: '$(System.DefaultWorkingDirectory)' - Contents: NOTICE.txt - TargetFolder: ${{ parameters.buildDirectory }} \ No newline at end of file + artifact: NOTICE.txt + path: ${{ parameters.buildDirectory }} \ No newline at end of file