From 6546126e9dc5728897bd17fbd6b71a43d0f3124e Mon Sep 17 00:00:00 2001 From: Jonathan Pobst Date: Tue, 31 May 2022 09:43:39 -0500 Subject: [PATCH] [ci] Add custom build steps that run after the API Diff. --- .ci/build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.ci/build.yml b/.ci/build.yml index 78ed48d27..3373708b4 100644 --- a/.ci/build.yml +++ b/.ci/build.yml @@ -10,6 +10,7 @@ parameters: initSteps: [] # any steps to run before .NET global tools are installed preBuildSteps: [] # any steps that need to run just before the main compilation starts postBuildSteps: [] # any steps that need to run just after the main compilation ends + postDiffBuildSteps: [] # any steps that need to run after the API Diff ends masterBranchName: 'main' # the "master" branch that should be used - can be something other than "master" installAppleCertificates: 'true' # whether or not to install the Apple certificates and provisioning profiles submodules: false # whether or not to check out submodules @@ -360,6 +361,8 @@ jobs: inputs: PathToPublish: output ArtifactName: output-$(System.JobName)${{ parameters.publishOutputSuffix }} + # custom post-api-diff steps + - ${{ parameters.postDiffBuildSteps }} # run any required checks - ${{ if eq(variables['System.TeamProject'], 'devdiv') }}: - task: ComponentGovernanceComponentDetection@0