Skip to content

Commit d171d2e

Browse files
changed param cdx spec to 1.5
1 parent 56db3e5 commit d171d2e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/sbom.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ jobs:
4242
source .venv/bin/activate
4343
pip install -r requirements.txt
4444
pip install .
45-
npx @cyclonedx/cdxgen -t python --json-pretty -o sbom.json
45+
npx @cyclonedx/[email protected] -t python --spec-version 1.5 -o sbom.json
46+
jq . sbom.json > sbom.json.tmp && mv sbom.json.tmp sbom.json
4647
env:
4748
FETCH_LICENSE: true
4849

0 commit comments

Comments
 (0)