Skip to content

Commit ffe7dd0

Browse files
authored
Create build_test.yaml
1 parent ae2db6b commit ffe7dd0

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

ado/build_test.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
trigger:
2+
- main
3+
4+
pool:
5+
vmImage: 'ubuntu-latest'
6+
7+
steps:
8+
- task: GoTool@0
9+
inputs:
10+
version: '1.13.5'
11+
- task: Go@0
12+
inputs:
13+
command: 'get'
14+
arguments: '-d'
15+
workingDirectory: '$(System.DefaultWorkingDirectory)'
16+
- task: Go@0
17+
inputs:
18+
command: 'build'
19+
workingDirectory: '$(System.DefaultWorkingDirectory)'
20+
- task: CopyFiles@2
21+
inputs:
22+
TargetFolder: '$(Build.ArtifactStagingDirectory)'
23+
- task: PublishBuildArtifacts@1
24+
inputs:
25+
artifactName: drop

0 commit comments

Comments
 (0)