Add component detection step to builds

- aspnet/AspNetCore-Internal#1254
This commit is contained in:
Doug Bunting 2019-02-04 09:41:45 -08:00 committed by Doug Bunting
parent 9251dfe7c0
commit d46990856a
1 changed files with 5 additions and 0 deletions

View File

@ -77,6 +77,11 @@ jobs:
- script: ./build.cmd -ci -sign /t:SignCheck /p:SignType=$(_SignType)
displayName: Run sign check
condition: eq(variables['_SignType'], 'real')
# Detect OSS Components in use in the product. Only needs to run on one OS in the matrix.
- task: ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0
displayName: Detect components
condition: eq(variables['system.pullrequest.isfork'], false)
artifacts:
- name: Windows_Packages
path: artifacts/packages/