Skip to content

Commit 2740825

Browse files
ci: fix snyk sbom (#181)
1 parent 0d535e5 commit 2740825

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
- name: Generate SBOM # check SBOM can be generated but nothing is done with it
7575
uses: RDXWorks-actions/snyk-actions/node@master
7676
with:
77-
args: --all-projects --org=${{ env.SNYK_PROJECTS_ORG_ID }} --format=cyclonedx1.4+json --json-file-output sbom.json
77+
args: --all-projects --org=${{ env.SNYK_PROJECTS_ORG_ID }} --format=cyclonedx1.4+json > sbom.json
7878
command: sbom
7979

8080
build:

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
- name: Generate SBOM
4848
uses: RDXWorks-actions/snyk-actions/node@master
4949
with:
50-
args: --all-projects --org=${{ env.SNYK_PROJECTS_ORG_ID }} --format=cyclonedx1.4+json --json-file-output sbom.json
50+
args: --all-projects --org=${{ env.SNYK_PROJECTS_ORG_ID }} --format=cyclonedx1.4+json > sbom.json
5151
command: sbom
5252
- name: Upload SBOM
5353
uses: RDXWorks-actions/upload-release-assets@c94805dc72e4b20745f543da0f62eaee7722df7a

0 commit comments

Comments
 (0)