Skip to content

Commit efc7424

Browse files
committed
Update README.md
Signed-off-by: nscuro <[email protected]>
1 parent 8b39ad6 commit efc7424

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,16 @@ It'll be made available via `$PATH` and can be used by later steps of the workfl
2525
```yaml
2626
# Download and invoke cyclonedx-gomod in a single step
2727
- name: Generate SBOM
28-
uses: CycloneDX/gh-gomod-generate-sbom@v1
28+
uses: CycloneDX/gh-gomod-generate-sbom@v2
2929
with:
3030
version: v1
3131
args: mod -licenses -json -output bom.json
3232

3333
# Just download cyclonedx-gomod and call it in a later step
3434
- name: Download cyclonedx-gomod
35-
uses: CycloneDX/gh-gomod-generate-sbom@v1
35+
uses: CycloneDX/gh-gomod-generate-sbom@v2
3636
with:
3737
version: v1
3838
- 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
4040
```

0 commit comments

Comments
 (0)