aboutsummaryrefslogtreecommitdiffstats
path: root/.ci/templates/job-uhd-build-src.yml
diff options
context:
space:
mode:
Diffstat (limited to '.ci/templates/job-uhd-build-src.yml')
-rw-r--r--.ci/templates/job-uhd-build-src.yml12
1 files changed, 8 insertions, 4 deletions
diff --git a/.ci/templates/job-uhd-build-src.yml b/.ci/templates/job-uhd-build-src.yml
index 6e945d789..366bb7509 100644
--- a/.ci/templates/job-uhd-build-src.yml
+++ b/.ci/templates/job-uhd-build-src.yml
@@ -65,11 +65,15 @@ jobs:
vsArch: $(vsArch)
vsYear: $(vsYear)
- - task: CopyFiles@2
+ - task: ArchiveFiles@2
inputs:
- sourceFolder: $(Build.BinariesDirectory)
- targetFolder: $(Build.ArtifactStagingDirectory)
- displayName: Copy build files to artifact folder
+ rootFolderOrFile: $(Build.BinariesDirectory)
+ includeRootFolder: false
+ archiveType: tar
+ tarCompression: gz
+ archiveFile: $(Build.ArtifactStagingDirectory)/$(dockerOSName)-${{ parameters.toolset }}.tar.gz
+ replaceExistingArchive: true
+ displayName: Compress build files
- task: CopyFiles@2
inputs: