Skip to content

Commit 35df133

Browse files
author
Oren Novotny
authored
Add PR triggers
1 parent 16b9b3a commit 35df133

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

azure-pipelines.rx.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,17 @@ trigger:
99
- .editorconfig
1010
- azure-pipelines.rx.yml
1111

12+
pr:
13+
branches:
14+
include:
15+
- master
16+
- rel/*
17+
paths:
18+
include:
19+
- Rx.NET/Source/*
20+
- .editorconfig
21+
- azure-pipelines.rx.yml
22+
1223
pool:
1324
vmImage: vs2017-win2016
1425

@@ -23,11 +34,9 @@ steps:
2334
custom: tool
2435
arguments: install --tool-path . nbgv
2536
displayName: Install NBGV tool
26-
condition: and(succeeded(), eq(variables['system.pullrequest.isfork'], false))
2737

2838
- script: nbgv cloud -a -p Rx.NET\Source
2939
displayName: Set Version
30-
condition: and(succeeded(), eq(variables['system.pullrequest.isfork'], false))
3140

3241
- task: MSBuild@1
3342
displayName: Build System.Reactive.sln
@@ -43,7 +52,6 @@ steps:
4352
inputs:
4453
command: custom
4554
arguments: pack Rx.NET/Source/facades/System.Reactive.Compatibility.nuspec -Version $(NBGV_NuGetPackageVersion) -MinClientVersion 2.12 -NoPackageAnalysis -outputdirectory $(Build.ArtifactStagingDirectory)\artifacts
46-
condition: eq(variables['system.pullrequest.isfork'], false)
4755

4856
- task: MSBuild@1
4957
displayName: Build for Test (ppdb) workaround
@@ -86,4 +94,4 @@ steps:
8694
PathtoPublish: $(Build.ArtifactStagingDirectory)\artifacts
8795
ArtifactName: artifacts
8896
publishLocation: Container
89-
condition: and(succeeded(), eq(variables['system.pullrequest.isfork'], false))
97+

0 commit comments

Comments
 (0)