Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Signed-off-by: nscuro <[email protected]>
  • Loading branch information
nscuro committed Jun 5, 2023
1 parent 8b39ad6 commit efc7424
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,16 @@ It'll be made available via `$PATH` and can be used by later steps of the workfl
```yaml
# Download and invoke cyclonedx-gomod in a single step
- name: Generate SBOM
uses: CycloneDX/gh-gomod-generate-sbom@v1
uses: CycloneDX/gh-gomod-generate-sbom@v2
with:
version: v1
args: mod -licenses -json -output bom.json

# Just download cyclonedx-gomod and call it in a later step
- name: Download cyclonedx-gomod
uses: CycloneDX/gh-gomod-generate-sbom@v1
uses: CycloneDX/gh-gomod-generate-sbom@v2
with:
version: v1
- name: Generate SBOM
run: cyclonedx-gomod app -licenses -files -output bom.xml -main cmd/acme-app
run: cyclonedx-gomod app -licenses -output bom.xml -main cmd/acme-app
```

0 comments on commit efc7424

Please sign in to comment.