Skip to content

Commit 63886b4

Browse files
committed
fix(release): resolve sbom manifest path under artifacts
1 parent 4897aa2 commit 63886b4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,13 +252,13 @@ jobs:
252252
$sbomReleaseDir = "artifacts/release/sbom"
253253
New-Item -ItemType Directory -Force -Path $sbomReleaseDir | Out-Null
254254
255-
$sbomManifest = Get-ChildItem "_manifest" -Recurse -File -Filter "manifest.spdx.json" -ErrorAction SilentlyContinue |
255+
$sbomManifest = Get-ChildItem "artifacts" -Recurse -File -Filter "manifest.spdx.json" -ErrorAction SilentlyContinue |
256256
Sort-Object LastWriteTimeUtc -Descending |
257257
Select-Object -First 1
258258
259259
if (-not $sbomManifest)
260260
{
261-
throw "SBOM manifest not found under _manifest after generation."
261+
throw "SBOM manifest not found under artifacts after generation."
262262
}
263263
264264
Copy-Item -LiteralPath $sbomManifest.FullName -Destination (Join-Path $sbomReleaseDir "manifest.spdx.json") -Force

0 commit comments

Comments
 (0)