File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -25,16 +25,16 @@ It'll be made available via `$PATH` and can be used by later steps of the workfl
25
25
``` yaml
26
26
# Download and invoke cyclonedx-gomod in a single step
27
27
- name : Generate SBOM
28
- uses : CycloneDX/gh-gomod-generate-sbom@v1
28
+ uses : CycloneDX/gh-gomod-generate-sbom@v2
29
29
with :
30
30
version : v1
31
31
args : mod -licenses -json -output bom.json
32
32
33
33
# Just download cyclonedx-gomod and call it in a later step
34
34
- name : Download cyclonedx-gomod
35
- uses : CycloneDX/gh-gomod-generate-sbom@v1
35
+ uses : CycloneDX/gh-gomod-generate-sbom@v2
36
36
with :
37
37
version : v1
38
38
- name : Generate SBOM
39
- run : cyclonedx-gomod app -licenses -files - output bom.xml -main cmd/acme-app
39
+ run : cyclonedx-gomod app -licenses -output bom.xml -main cmd/acme-app
40
40
` ` `
You can’t perform that action at this time.
0 commit comments