1
0
mirror of https://github.com/securego/gosec.git synced 2024-12-26 20:53:56 +02:00

Fix the SBOM generation step in the release action (#712)

This commit is contained in:
Cosmin Cojocar 2021-10-15 10:57:09 +02:00 committed by GitHub
parent 5a3a27afae
commit 69213955da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,12 +22,10 @@ jobs:
id: get_version
run: echo ::set-env name=RELEASE_VERSION::$(echo ${GITHUB_REF:10})
- name: Generate SBOM
uses: CycloneDX/gh-gomod-generate-sbom@v1.0.0
uses: CycloneDX/gh-gomod-generate-sbom@v1
with:
json: true
output: bom.json
resolve-licenses: true
version: ^v0
version: v1
args: mod -licenses -json -output bom.json
- name: Release Binaries
uses: goreleaser/goreleaser-action@v2
with: