Skip to content

Commit 5a22d4d

Browse files
author
Oren Novotny
committed
Update and rename .azure-pipelines.rx.yml to azure-pipelines.rx.yml
1 parent 57bcb6e commit 5a22d4d

File tree

1 file changed

+27
-8
lines changed

1 file changed

+27
-8
lines changed

.vsts.rx-shared.yml renamed to azure-pipelines.rx.yml

Lines changed: 27 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
1-
parameters:
2-
signStep: []
1+
trigger:
2+
branches:
3+
include:
4+
- master
5+
- rel/*
6+
paths:
7+
include:
8+
- Rx.NET/Source/*
9+
- .editorconfig
10+
- azure-pipelines.rx.yml
11+
12+
pool:
13+
vmImage: vs2017-win2016
14+
15+
variables:
16+
BuildConfiguration: Release
17+
BuildPlatform: Any CPU
318

419
steps:
520
- task: DotNetCoreCLI@2
@@ -13,10 +28,6 @@ steps:
1328
- script: nbgv cloud -a -p Rx.NET\Source
1429
displayName: Set Version
1530
condition: and(succeeded(), eq(variables['system.pullrequest.isfork'], false))
16-
17-
- task: DotNetCoreInstaller@0
18-
inputs:
19-
version: '2.1.400-preview-009171'
2031

2132
- task: MSBuild@1
2233
displayName: Build System.Reactive.sln
@@ -57,11 +68,19 @@ steps:
5768
arguments: -c $(BuildConfiguration) --no-build --no-restore
5869
displayName: Run Api Approvals Tests
5970

60-
- ${{ parameters.signStep }}
71+
- task: PowerShell@2
72+
displayName: Authenticode Sign Packages
73+
inputs:
74+
filePath: Rx.NET/Source/build/Sign-Package.ps1
75+
env:
76+
SignClientUser: $(SignClientUser)
77+
SignClientSecret: $(SignClientSecret)
78+
ArtifactDirectory: $(Build.ArtifactStagingDirectory)\artifacts
79+
condition: and(succeeded(), not(eq(variables['build.reason'], 'PullRequest')), not(eq(variables['SignClientSecret'], '')), not(eq(variables['SignClientUser'], '')))
6180

6281
- task: PublishBuildArtifacts@1
6382
inputs:
6483
PathtoPublish: $(Build.ArtifactStagingDirectory)\artifacts
6584
ArtifactName: artifacts
6685
publishLocation: Container
67-
condition: eq(variables['system.pullrequest.isfork'], false)
86+
condition: and(succeeded(), eq(variables['system.pullrequest.isfork'], false))

0 commit comments

Comments
 (0)