Skip to content

Commit 0305894

Browse files
committed
Work CD-CI
- Add condition to update dependents only if not runnign a tag build. - Update VM image to windows with VS2019. ***NO_CI***
1 parent ce892aa commit 0305894

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

azure-pipelines.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
##############################
2222
- job: Get_Build_Flags
2323
pool:
24-
vmImage: 'VS2017-Win2016'
24+
vmImage: 'windows-2019'
2525

2626
steps:
2727
- checkout: self
@@ -74,7 +74,7 @@ jobs:
7474
- Get_Build_Flags
7575

7676
pool:
77-
vmImage: 'VS2017-Win2016'
77+
vmImage: 'windows-2019'
7878

7979
variables:
8080
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
@@ -192,14 +192,14 @@ jobs:
192192

193193
##############################
194194
- job: Update_Dependents
195-
condition: or( eq(dependencies.Get_Build_Flags.outputs['GetPRLabels.RUN_UPDATE_DEPENDENTS'], 'true'), eq(variables['UPDATE_DEPENDENTS'], 'true') )
195+
condition: and( or( eq(dependencies.Get_Build_Flags.outputs['GetPRLabels.RUN_UPDATE_DEPENDENTS'], 'true'), eq(variables['UPDATE_DEPENDENTS'], 'true') ), not( startsWith(variables['Build.SourceBranch'], 'refs/tags/v') ) )
196196

197197
dependsOn:
198198
- Get_Build_Flags
199199
- Build_MDP
200200

201201
pool:
202-
vmImage: 'VS2017-Win2016'
202+
vmImage: 'windows-2019'
203203

204204
steps:
205205
# need this here in order to persist GitHub credentials
@@ -234,7 +234,7 @@ jobs:
234234
condition: failed('Build_MDP')
235235

236236
pool:
237-
vmImage: 'VS2017-Win2016'
237+
vmImage: 'windows-2019'
238238

239239
steps:
240240

0 commit comments

Comments
 (0)