11steps :
22 - template : ./checkout.yml
33
4- - task : DownloadBuildArtifacts@0
4+ - task : DownloadPipelineArtifact@1
55 displayName : ' Download artifact: doc'
66 inputs :
77 artifactName : doc
8- downloadPath : $(Build.BinariesDirectory)
8+ targetPath : $(Build.BinariesDirectory)\doc
99
1010 - task : CopyFiles@2
1111 displayName : ' Merge documentation files'
@@ -15,63 +15,41 @@ steps:
1515 contents : |
1616 htmlhelp\*.chm
1717
18- - task : DownloadBuildArtifacts@0
18+ - task : DownloadPipelineArtifact@1
1919 displayName : ' Download artifact: bin_win32'
2020 inputs :
2121 artifactName : bin_win32
22- downloadPath : $(Build.BinariesDirectory)
22+ targetPath : $(Build.BinariesDirectory)\win32
2323
24- - task : DownloadBuildArtifacts@0
24+ - task : DownloadPipelineArtifact@1
2525 displayName : ' Download artifact: bin_win32_d'
2626 inputs :
2727 artifactName : bin_win32_d
28- downloadPath : $(Build.BinariesDirectory)
28+ targetPath : $(Build.BinariesDirectory)\win32
2929
30- - task : CopyFiles@2
31- displayName : ' Merge win32 debug files'
32- inputs :
33- sourceFolder : $(Build.BinariesDirectory)\bin_win32_d
34- targetFolder : $(Build.BinariesDirectory)\bin_win32
35- contents : |
36- **\*_d.*
37-
38- - task : DownloadBuildArtifacts@0
30+ - task : DownloadPipelineArtifact@1
3931 displayName : ' Download artifact: bin_amd64'
4032 inputs :
4133 artifactName : bin_amd64
42- downloadPath : $(Build.BinariesDirectory)
34+ targetPath : $(Build.BinariesDirectory)\amd64
4335
44- - task : DownloadBuildArtifacts@0
36+ - task : DownloadPipelineArtifact@1
4537 displayName : ' Download artifact: bin_amd64_d'
4638 inputs :
4739 artifactName : bin_amd64_d
48- downloadPath : $(Build.BinariesDirectory)
49-
50- - task : CopyFiles@2
51- displayName : ' Merge amd64 debug files'
52- inputs :
53- sourceFolder : $(Build.BinariesDirectory)\bin_amd64_d
54- targetFolder : $(Build.BinariesDirectory)\bin_amd64
55- contents : |
56- **\*_d.*
40+ targetPath : $(Build.BinariesDirectory)\amd64
5741
58- - task : DownloadBuildArtifacts@0
42+ - task : DownloadPipelineArtifact@1
5943 displayName : ' Download artifact: tcltk_lib_win32'
6044 inputs :
6145 artifactName : tcltk_lib_win32
62- downloadPath : $(Build.BinariesDirectory)
46+ targetPath : $(Build.BinariesDirectory)\tcltk_lib_win32
6347
64- - task : DownloadBuildArtifacts@0
48+ - task : DownloadPipelineArtifact@1
6549 displayName : ' Download artifact: tcltk_lib_amd64'
6650 inputs :
6751 artifactName : tcltk_lib_amd64
68- downloadPath : $(Build.BinariesDirectory)
69-
70- - script : |
71- ren bin_win32 win32
72- ren bin_amd64 amd64
73- displayName: 'Correct artifact directory names'
74- workingDirectory: $(Build.BinariesDirectory)
52+ targetPath : $(Build.BinariesDirectory)\tcltk_lib_amd64
7553
7654 - script : |
7755 call Tools\msi\get_externals.bat
@@ -139,8 +117,8 @@ steps:
139117 *.cab
140118 *.exe
141119
142- - task : PublishBuildArtifacts@1
120+ - task : PublishPipelineArtifact@0
143121 displayName : ' Publish MSI'
144122 inputs :
145- PathtoPublish : ' $(Build.ArtifactStagingDirectory)\msi'
146- ArtifactName : msi
123+ targetPath : ' $(Build.ArtifactStagingDirectory)\msi'
124+ artifactName : msi
0 commit comments