Skip to content

Commit b5eb13d

Browse files
authored
Update nuget-publish.yml
1 parent 5da79ac commit b5eb13d

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/nuget-publish.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ jobs:
6262
echo "Version for SBOM: $VERSION"
6363

6464
mkdir -p sbom/$VERSION
65-
dotnet tool run dotnet-CycloneDX OpenCode/OpenCode.csproj -o sbom/$VERSION -f json
65+
dotnet tool run dotnet-CycloneDX OpenCode/OpenCode.csproj -o sbom/$VERSION/json -f json
66+
6667

6768
# Set step output
6869
echo "version=$VERSION" >> $GITHUB_OUTPUT
@@ -76,7 +77,7 @@ jobs:
7677
7778
git config user.name "github-actions[bot]"
7879
git config user.email "github-actions[bot]@users.noreply.github.com"
79-
git add sbom/$VERSION/bom.json
80+
git add sbom/$VERSION/json/*.json
8081
git commit -m "Add SBOM for version $VERSION" || echo "No changes to commit"
8182
git push origin HEAD
8283

0 commit comments

Comments
 (0)