File tree Expand file tree Collapse file tree 1 file changed +25
-1
lines changed
Expand file tree Collapse file tree 1 file changed +25
-1
lines changed Original file line number Diff line number Diff line change @@ -36,9 +36,33 @@ steps:
3636 --timestamp-url http://timestamp.digicert.com
3737 displayName : Sign Artifacts
3838
39+ - powershell : |
40+ Invoke-WebRequest `
41+ -Uri https://github.com/microsoft/sbom-tool/releases/latest/download/sbom-tool-win-x64.exe `
42+ -OutFile sbom-tool.exe
43+ displayName : Download SBOM Tool
44+
45+ - powershell : |
46+ .\sbom-tool.exe generate `
47+ -b "$(Build.ArtifactStagingDirectory)" `
48+ -bc "$(Build.SourcesDirectory)" `
49+ -pn "ASP.NET API Versioning" `
50+ -pv "$(Build.BuildNumber)" `
51+ -ps ".NET Foundation" `
52+ -nsb "urn:dnf:aspnet-api-versioning" `
53+ -mi SPDX:3.0
54+ -V Verbose
55+ displayName : Generate SBOM
56+
3957- task : PublishBuildArtifacts@1
4058 displayName : Publish Artifacts
4159 inputs :
4260 pathToPublish : $(Build.ArtifactStagingDirectory)/packages
4361 publishLocation : Container
44- artifactName : NuGet Packages
62+ artifactName : NuGet Packages
63+
64+ - task : PublishPipelineArtifact@1
65+ inputs :
66+ targetPath : /$(Build.ArtifactStagingDirectory)/_manifest
67+ artifact : sbom
68+ displayName : Publish SBOM
You can’t perform that action at this time.
0 commit comments