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:
parent
5a3a27afae
commit
69213955da
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user