Skip to content

Commit 878b670

Browse files
authored
Generate ADO SBOM for PSReadLine (#2918)
1 parent d9cc944 commit 878b670

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.vsts-ci/releaseBuild.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ variables:
66
DOTNET_CLI_TELEMETRY_OPTOUT: 1
77
POWERSHELL_TELEMETRY_OPTOUT: 1
88
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
9+
SBOMGenerator_Formats: 'spdx:2.2'
910

1011
resources:
1112
repositories:
@@ -106,6 +107,13 @@ stages:
106107
}
107108
displayName: 'Verify the signed files'
108109
110+
# Generate a Software Bill of Materials (SBOM)
111+
- template: Sbom.yml@ComplianceRepo
112+
parameters:
113+
BuildDropPath: '$(PSReadLine)'
114+
Build_Repository_Uri: 'https://github.com/PowerShell/PSReadLine.git'
115+
displayName: Generate SBOM
116+
109117
- pwsh: |
110118
try {
111119
$RepoName = "PSRLLocal"

0 commit comments

Comments
 (0)