Skip to content

Commit 440b38e

Browse files
authored
set dev build before continuing onto steps that utilize the artifacts (#35711)
1 parent 753f5d7 commit 440b38e

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

eng/pipelines/templates/steps/analyze.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,10 @@ steps:
7070
ServiceDirectory: ${{ parameters.ServiceDirectory }}
7171
VerifyAutorest: ${{ parameters.VerifyAutorest }}
7272

73-
- task: ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0
74-
# ComponentGovernance is currently unable to run on pull requests of public projects. Running on non-PR
75-
# builds should be sufficient.
76-
condition: and(succeededOrFailed(), ne(variables['Build.Reason'],'PullRequest'))
77-
displayName: 'Component Detection'
78-
73+
- template: ../steps/set-dev-build.yml
74+
parameters:
75+
ServiceDirectory: ${{ parameters.ServiceDirectory }}
76+
7977
- task: PythonScript@0
8078
displayName: 'Verify sdist'
8179
condition: and(succeededOrFailed(), ne(variables['Skip.VerifySdist'],'true'))

0 commit comments

Comments
 (0)