Skip to content

Commit 8aaf40a

Browse files
committed
Work CI-CD
- Fix condition for job to update dependents. - Fix condition for report failure. - Fetch depth is now 1 for reporting failure. ***NO_CI***
1 parent 84342eb commit 8aaf40a

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

azure-pipelines.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ jobs:
137137
or(
138138
and(
139139
succeeded(),
140-
startsWith(variables['Build.SourceBranch'], 'refs/tags/v'),
140+
startsWith(variables['Build.SourceBranch'], 'refs/heads/main'),
141141
eq(variables['StartReleaseCandidate'], 'false')
142142
),
143143
and(
@@ -149,9 +149,6 @@ jobs:
149149
eq(variables['UPDATE_DEPENDENTS'], 'true')
150150
)
151151
152-
dependsOn:
153-
- Build_mscorlib
154-
155152
pool:
156153
vmImage: 'windows-latest'
157154

@@ -199,7 +196,6 @@ jobs:
199196
condition: >-
200197
or(
201198
failed('Build_mscorlib'),
202-
failed('Build_mscorlib_no_reflection'),
203199
failed('Update_Dependents')
204200
)
205201
@@ -209,6 +205,7 @@ jobs:
209205
steps:
210206

211207
- checkout: self
208+
fetchDepth: 1
212209

213210
# step from template @ nf-tools repo
214211
# report error

0 commit comments

Comments
 (0)