From 542262a70cd70f2a2e2e95174d4ea2b8ae1d3436 Mon Sep 17 00:00:00 2001 From: glenntosco Date: Wed, 14 Oct 2026 11:39:55 -0500 Subject: [PATCH] Release: create the SBOM manifest directory before running sbom-tool The first 0.4.0 release run failed with "ManifestDirPath directory not found for 'sbom'"; the tool does not create it. Co-Authored-By: Claude Fable 5.1 --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e0b0de8..b54df2d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -83,6 +83,7 @@ jobs: - name: Generate SBOM run: | dotnet tool install --global Microsoft.Sbom.DotNetTool --version 4.1.13 + mkdir -p sbom # sbom-tool refuses to create its manifest directory itself sbom-tool generate -b artifacts -bc . -m sbom -pn SheetStream.NET -pv "${GITHUB_REF_NAME#v}" -ps "P4 Software" -nsb https://p4.software/sbom -V Warning cp sbom/_manifest/spdx_2.2/manifest.spdx.json "artifacts/SheetStream.NET-${GITHUB_REF_NAME#v}.spdx.json"