forked from microsoft/Git-Credential-Manager-for-Windows
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vsts-rs.yml
38 lines (35 loc) · 1.69 KB
/
vsts-rs.yml
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
33
34
35
36
37
38
phases:
- template: vsts-tt.yml
parameters:
QueueName: 'VSEng-MicroBuildVS2017'
MicrobuildSetup:
- task: ms-vseng.MicroBuildTasks.30666190-6959-11e5-9f96-f56098202fef.MicroBuildSigningPlugin@1
displayName: Setup MicroBuild Signing
condition: and(succeeded(), or(eq(variables['signType'],'real'), eq(variables['signType'],'test')))
continueOnError: true
inputs:
feedSource: https://devdiv.pkgs.visualstudio.com/DefaultCollection/_packaging/MicroBuildToolset/nuget/v3/index.json
signType: '$(SignType)'
zipSources: true
MicrobuildClean:
- task: ms-vseng.MicroBuildTasks.521a94ea-9e68-468a-8167-6dcf361ea776.MicroBuildCleanup@1
displayName: MicroBuild Cleanup
condition: or(eq(variables['signType'],'real'), eq(variables['signType'],'test'))
continueOnError: true
PublishArtifacts:
- task: PublishBuildArtifacts@1
displayName: 'Publish Artifact: Binary Log'
continueOnError: true
condition: eq(variables['system.pullrequest.isfork'], false)
inputs:
pathtoPublish: '$(Build.SourcesDirectory)\gcmw-$(build.buildNumber).binlog'
artifactName: '$(build.buildNumber).binlog'
publishLocation: Container
- task: PublishBuildArtifacts@1
displayName: 'Publish Artifact: Binaries'
continueOnError: true
condition: and(succeeded(), eq(variables['system.pullrequest.isfork'], false))
inputs:
pathtoPublish: '$(Build.SourcesDirectory)\Deploy\'
artifactName: '$(Build.BuildNumber).output'
publishLocation: Container