Sync eng/common directory with azure-sdk-tools for PR 10467 (#6544)
This commit is contained in:
parent
9ae114d856
commit
cece8a16c0
@ -31,6 +31,8 @@ steps:
|
||||
inputs:
|
||||
artifactName: '$(PublishArtifactName)'
|
||||
targetPath: '${{ parameters.ArtifactPath }}'
|
||||
# Disable sbom generation by default for forked PR builds to avoid a bunch of warnings
|
||||
${{ if not(and(eq(variables['Build.Reason'],'PullRequest'), eq(variables['System.PullRequest.IsFork'], 'True'))) }}:
|
||||
# Disable sbom generation by default for our public validation builds to avoid unnecessary work
|
||||
${{ if eq(variables['System.TeamProject'], 'public') }}:
|
||||
sbomEnabled: false
|
||||
${{ else }}:
|
||||
sbomEnabled: ${{ parameters.SbomEnabled }}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user