From 16f3ab1cb3203096241929f49ceef6375488caf0 Mon Sep 17 00:00:00 2001 From: Adrien Ferrand Date: Sun, 26 Apr 2020 22:09:01 +0200 Subject: [PATCH] Reuse copy task here --- .azure-pipelines/templates/jobs/packaging-jobs.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.azure-pipelines/templates/jobs/packaging-jobs.yml b/.azure-pipelines/templates/jobs/packaging-jobs.yml index 9f389ee0d..c8ab211af 100644 --- a/.azure-pipelines/templates/jobs/packaging-jobs.yml +++ b/.azure-pipelines/templates/jobs/packaging-jobs.yml @@ -8,10 +8,13 @@ jobs: versionSpec: 3.7 architecture: x86 addToPath: true - - bash: | - python windows-installer/construct.py - mv windows-installer/build/nsis/*.exe $(Build.ArtifactStagingDirectory) + - script: python windows-installer/construct.py displayName: Build Certbot installer + - task: CopyFiles@2 + inputs: + sourceFolder: $(System.DefaultWorkingDirectory)/windows-installer/build/nsis + contents: '*.exe' + targetFolder: $(Build.ArtifactStagingDirectory) - task: PublishPipelineArtifact@1 inputs: path: $(Build.ArtifactStagingDirectory)