dotnet-installer/eng/common/templates/steps/component-governance.yml
dotnet-maestro[bot] b121f8feeb Update dependencies from https://github.com/dotnet/arcade build 20230531.4
Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.CMake.Sdk
 From Version 7.0.0-beta.23211.2 -> To Version 7.0.0-beta.23281.4
2023-06-14 20:00:12 +00:00

10 lines
No EOL
409 B
YAML

parameters:
disableComponentGovernance: false
steps:
- ${{ if eq(parameters.disableComponentGovernance, 'true') }}:
- script: "echo ##vso[task.setvariable variable=skipComponentGovernanceDetection]true"
displayName: Set skipComponentGovernanceDetection variable
- ${{ if ne(parameters.disableComponentGovernance, 'true') }}:
- task: ComponentGovernanceComponentDetection@0
continueOnError: true