forked from RWS/Sdl-Community
-
Notifications
You must be signed in to change notification settings - Fork 0
/
SdlFreshstart.yml
55 lines (48 loc) · 1.58 KB
/
SdlFreshstart.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
50
51
52
53
54
55
trigger:
branches:
include:
- master
paths:
include:
- SdlFreshstart/*
pr:
branches:
include:
- master
paths:
include:
- SdlFreshstart/*
pool:
vmImage : '$(DefaultBuildVm)'
variables:
- group: 'SDLPLC Authenticode Credentials'
- template: jobs/branch-variables.yml
- name: buildPlatform
value: 'Any CPU'
- name: buildConfiguration
value: 'Release'
- name: solution
value: '**/Sdl.Community.SdlFreshstart.sln'
steps:
- template: jobs/build-sdlplugin.yml
- template: tasks/sign-artifacts/prepare-signing.yml
- template: tasks/sign-artifacts/sign-single-artifact.yml
parameters:
fileToSign: '$(X86PATH)\SDL\SDL Trados Studio\$(StudioProductIdentifier)\Sdl.Community.SdlFreshstart.exe'
description: 'SdlFreshstart'
- task: VSBuild@1
inputs:
solution: '**Sdl.Community.SdlFreshstart.Installer.wixproj'
platform: 'x86'
configuration: '$(buildConfiguration)'
msbuildArgs: '/p:RunWixToolsOutOfProc=true'
- template: tasks/sign-artifacts/prepare-signing.yml
- template: tasks/sign-artifacts/sign-single-artifact.yml
parameters:
fileToSign: '$(Build.Repository.LocalPath)\SdlFreshstart\Sdl.Community.SdlFreshstart.Installer\bin\$(buildConfiguration)\Sdl.Community.SdlFreshstart.Installer.msi'
description: 'SdlFreshstart'
- task: PublishBuildArtifacts@1
displayName: 'Publish Artifact'
inputs:
artifactName: SdlFreshstartInstaller
pathToPublish: '$(Build.Repository.LocalPath)\SdlFreshstart\Sdl.Community.SdlFreshstart.Installer\bin\$(buildConfiguration)'