github.com/u-root/u-root@v7.0.1-0.20200915234505-ad7babab0a8e+incompatible/azure-pipelines.yml (about) 1 # Go 2 # Build your Go project. 3 # Add steps that test, save build artifacts, deploy, and more: 4 # https://docs.microsoft.com/azure/devops/pipelines/languages/go 5 6 trigger: 7 - master 8 9 pool: 10 vmImage: 'ubuntu-latest' 11 12 steps: 13 - task: GoTool@0 14 inputs: 15 version: '1.13.5' 16 - task: Go@0 17 inputs: 18 command: 'get' 19 arguments: '-d' 20 workingDirectory: '$(System.DefaultWorkingDirectory)' 21 - task: Go@0 22 inputs: 23 command: 'build' 24 workingDirectory: '$(System.DefaultWorkingDirectory)' 25 - task: CopyFiles@2 26 inputs: 27 TargetFolder: '$(Build.ArtifactStagingDirectory)' 28 - task: PublishBuildArtifacts@1 29 inputs: 30 artifactName: drop 31