From 82f41074ab23017d7d108a0bdd77bfa349344587 Mon Sep 17 00:00:00 2001 From: tidusjar Date: Mon, 23 Mar 2020 10:31:34 +0000 Subject: [PATCH] Fixed build --- .azuredevops/pipelines/publish-job.yml | 6 ++++++ .azuredevops/pipelines/templates/publish-os-steps.yml | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.azuredevops/pipelines/publish-job.yml b/.azuredevops/pipelines/publish-job.yml index a8fcaf1ce..3356685f5 100644 --- a/.azuredevops/pipelines/publish-job.yml +++ b/.azuredevops/pipelines/publish-job.yml @@ -19,21 +19,27 @@ stages: win10-x64: runtime: win10-x64 format: zip + compression: zip win10-x86: runtime: win10-x86 format: zip + compression: zip osx-x64: runtime: osx-x64 format: tar.gz + compression: tar linux-x64: runtime: linux-x64 format: tar.gz + compression: tar linux-arm: runtime: linux-arm format: tar.gz + compression: tar linux-arm64: runtime: linux-arm64 format: tar.gz + compression: tar pool: vmImage: ${{ variables.vmImage }} steps: diff --git a/.azuredevops/pipelines/templates/publish-os-steps.yml b/.azuredevops/pipelines/templates/publish-os-steps.yml index 77df59efb..ad72212cf 100644 --- a/.azuredevops/pipelines/templates/publish-os-steps.yml +++ b/.azuredevops/pipelines/templates/publish-os-steps.yml @@ -46,7 +46,7 @@ steps: inputs: rootFolderOrFile: '$(Build.ArtifactStagingDirectory)/$(runtime)' includeRootFolder: false - archiveType: 'zip' + archiveType: $(compression) archiveFile: '$(Build.ArtifactStagingDirectory)/$(runtime).$(format)' replaceExistingArchive: true