mirror of
https://github.com/securego/gosec.git
synced 2024-12-25 03:55:54 +00:00
Fix the SBOM generation step in the release action (#712)
This commit is contained in:
parent
5a3a27afae
commit
69213955da
1 changed files with 3 additions and 5 deletions
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
|
@ -22,12 +22,10 @@ jobs:
|
||||||
id: get_version
|
id: get_version
|
||||||
run: echo ::set-env name=RELEASE_VERSION::$(echo ${GITHUB_REF:10})
|
run: echo ::set-env name=RELEASE_VERSION::$(echo ${GITHUB_REF:10})
|
||||||
- name: Generate SBOM
|
- name: Generate SBOM
|
||||||
uses: CycloneDX/gh-gomod-generate-sbom@v1.0.0
|
uses: CycloneDX/gh-gomod-generate-sbom@v1
|
||||||
with:
|
with:
|
||||||
json: true
|
version: v1
|
||||||
output: bom.json
|
args: mod -licenses -json -output bom.json
|
||||||
resolve-licenses: true
|
|
||||||
version: ^v0
|
|
||||||
- name: Release Binaries
|
- name: Release Binaries
|
||||||
uses: goreleaser/goreleaser-action@v2
|
uses: goreleaser/goreleaser-action@v2
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue