Skip to content

Commit

Permalink
Generate SBOM manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
RussKie committed Feb 25, 2022
1 parent 6092a43 commit 346d187
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions eng/jobs/windows-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,12 @@ jobs:
ne(variables['DisableVSPublish'], 'true'),
ne(variables['PostBuildSign'], 'true'))

# Generate SBOM for the internal leg only
- ${{ if and(eq(parameters.runAsPublic, 'false'), ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
- template: ..\common\templates\steps\generate-sbom.yml
parameters:
name: Generate_SBOM_${{ parameters.name }}

- template: steps/upload-job-artifacts.yml
parameters:
name: ${{ parameters.name }}

0 comments on commit 346d187

Please sign in to comment.