diff --git a/azure-devops/golang/stages/40-delivery/arm.yaml b/azure-devops/golang/stages/40-delivery/arm.yaml index d2a7dc39..1c15798b 100644 --- a/azure-devops/golang/stages/40-delivery/arm.yaml +++ b/azure-devops/golang/stages/40-delivery/arm.yaml @@ -5,6 +5,7 @@ stages: - job: 'delivery_qa' displayName: 'delivery:qa' steps: + # TODO: could we consider the use of Makefile? - task: 'GoTool@0' inputs: version: '1.20' @@ -25,12 +26,13 @@ stages: inputs: Contents: | api/function.json + bin/main host.json - TargetFolder: '$(Build.SourcesDirectory)/bin' + TargetFolder: '$(Build.SourcesDirectory)/$(Build.BuildId)' - task: 'ArchiveFiles@2' inputs: archiveType: 'zip' - rootFolderOrFile: '$(Build.SourcesDirectory)/bin' + rootFolderOrFile: '$(Build.SourcesDirectory)/$(Build.BuildId)' archiveFile: '$(Build.ArtifactStagingDirectory)/$(Build.BuildId).zip' includeRootFolder: false replaceExistingArchive: true