forked from dansiegel/Prism.Plugin.PageDialogs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure-pipelines.yml
49 lines (41 loc) · 1.2 KB
/
azure-pipelines.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
39
40
41
42
43
44
45
46
47
48
49
trigger:
- master
- rel/*
name: $(Build.BuildId)
pool:
vmImage: vs2017-win2016
variables:
BuildPlatform: 'Any CPU'
BuildConfiguration: 'Release'
steps:
- task: NuGetToolInstaller@0
displayName: Use NuGet 4.7.1
inputs:
versionSpec: 4.7.1
- task: NuGetCommand@2
displayName: 'NuGet restore'
inputs:
feedsToUse: config
nugetConfigPath: NuGet.config
- task: MSBuild@1
displayName: Build Prism.Plugin.PageDialogs
inputs:
solution: Prism.Plugin.PageDialogs.sln
platform: '$(BuildPlatform)'
configuration: '$(BuildConfiguration)'
- powershell: ./Sign-Packages.ps1
workingDirectory: build
displayName: Authenticode Sign Artifacts
env:
SignClientUser: $(SignClientUser)
SignClientSecret: $(SignClientSecret)
SignClientClientId: $(SignClientClientId)
SignClientTenantId: $(SignClientTenantId)
SignServiceResourceId: $(SignServiceResourceId)
condition: and(succeeded(), eq(variables['system.pullrequest.isfork'], false))
- task: PublishBuildArtifacts@1
displayName: Publish Package Artifacts
inputs:
PathtoPublish: '$(Build.ArtifactStagingDirectory)'
ArtifactName: NuGet
condition: and(succeeded(), eq(variables['system.pullrequest.isfork'], false))