Skip to content

Commit 6921395

Browse files
authored
Fix the SBOM generation step in the release action (#712)
1 parent 5a3a27a commit 6921395

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/release.yml

+3-5
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,10 @@ jobs:
2222
id: get_version
2323
run: echo ::set-env name=RELEASE_VERSION::$(echo ${GITHUB_REF:10})
2424
- name: Generate SBOM
25-
uses: CycloneDX/gh-gomod-generate-sbom@v1.0.0
25+
uses: CycloneDX/gh-gomod-generate-sbom@v1
2626
with:
27-
json: true
28-
output: bom.json
29-
resolve-licenses: true
30-
version: ^v0
27+
version: v1
28+
args: mod -licenses -json -output bom.json
3129
- name: Release Binaries
3230
uses: goreleaser/goreleaser-action@v2
3331
with:

0 commit comments

Comments
 (0)