Skip to content

Commit beac4fa

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

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/nuget-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ 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/json -f json
65+
dotnet tool run dotnet-CycloneDX OpenCode/OpenCode.csproj -o sbom/$VERSION -F json
6666

6767

6868
# Set step output
@@ -77,7 +77,7 @@ jobs:
7777
7878
git config user.name "github-actions[bot]"
7979
git config user.email "github-actions[bot]@users.noreply.github.com"
80-
git add sbom/$VERSION/json/*.json
80+
git add sbom/$VERSION/*.json
8181
git commit -m "Add SBOM for version $VERSION" || echo "No changes to commit"
8282
git push origin HEAD
8383

0 commit comments

Comments
 (0)