Skip to content

Instantly share code, notes, and snippets.

@juliakm
Last active December 19, 2019 15:36
Show Gist options
  • Save juliakm/db527951901cbc76d39d71e334dfc123 to your computer and use it in GitHub Desktop.
Save juliakm/db527951901cbc76d39d71e334dfc123 to your computer and use it in GitHub Desktop.
trigger:
- master
pool:
vmImage: 'ubuntu-latest'
steps:
- task: GoTool@0
inputs:
version: '1.13.5'
- task: Go@0
inputs:
command: 'get'
arguments: '-d'
workingDirectory: '$(System.DefaultWorkingDirectory)'
- task: Go@0
inputs:
command: 'build'
workingDirectory: '$(System.DefaultWorkingDirectory)'
- task: CopyFiles@2
inputs:
TargetFolder: '$(Build.ArtifactStagingDirectory)'
- task: PublishBuildArtifacts@1
inputs:
artifactName: drop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment