We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2907c8 commit 8d521d1Copy full SHA for 8d521d1
windows-release/stage-layout-embed.yml
@@ -65,6 +65,14 @@ jobs:
65
git -C "$(Pipeline.Workspace)\release-tools" checkout $(Build.SourceVersion)
66
displayName: 'Clone the python/release-tools repository'
67
68
+ - powershell: |
69
+ if (-not (Test-Path "$(Build.SourcesDirectory)\Misc\externals.spdx.json")) {
70
+ "externals.spdx.json is missing - skipping SBOM"
71
+ Write-Host "##vso[task.setvariable variable=SkipSBOM]1"
72
+ }
73
+ condition: and(succeeded(), not(variables['SkipSBOM']))
74
+ displayName: 'Checking for SBOM'
75
+
76
- powershell: >
77
& "$(Python)"
78
"$(Pipeline.Workspace)\release-tools\sbom.py"
0 commit comments