-
-
Notifications
You must be signed in to change notification settings - Fork 32
/
vsts.yaml
32 lines (26 loc) · 769 Bytes
/
vsts.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
queue: Hosted VS2017
steps:
- checkout: self
clean: true
- task: MSBuild@1
displayName: Restore
inputs:
solution: InjectModuleInitializer.sln
msbuildArguments: /t:Restore
- task: MSBuild@1
displayName: Version
inputs:
solution: InjectModuleInitializer.csproj
msbuildArguments: /t:Version
- task: MSBuild@1
displayName: Build
inputs:
solution: InjectModuleInitializer.sln
msbuildArguments: /bl:"$(Build.ArtifactStagingDirectory)\build.binlog" /p:PackageOutputPath=$(Build.ArtifactStagingDirectory) /v:d /p:Configuration=Release
- task: PublishBuildArtifacts@1
displayName: Publish Artifact
inputs:
PathtoPublish: $(Build.ArtifactStagingDirectory)
ArtifactName: out
ArtifactType: Container
condition: always()