Skip to content

Commit

Permalink
hotfix(golang): corrected Azure DevOps build for GoLang projects
Browse files Browse the repository at this point in the history
Signed-off-by: Felipe Rios <[email protected]>
  • Loading branch information
rios0rios0 committed Oct 18, 2023
1 parent 78e0b24 commit 85f463c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions azure-devops/golang/stages/40-delivery/arm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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
Expand Down

0 comments on commit 85f463c

Please sign in to comment.