diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 13fe527b..77e8195a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -74,7 +74,7 @@ jobs: - name: Generate SBOM # check SBOM can be generated but nothing is done with it uses: RDXWorks-actions/snyk-actions/node@master with: - args: --all-projects --org=${{ env.SNYK_PROJECTS_ORG_ID }} --format=cyclonedx1.4+json --json-file-output sbom.json + args: --all-projects --org=${{ env.SNYK_PROJECTS_ORG_ID }} --format=cyclonedx1.4+json > sbom.json command: sbom build: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3a398ab4..1d1629f4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -47,7 +47,7 @@ jobs: - name: Generate SBOM uses: RDXWorks-actions/snyk-actions/node@master with: - args: --all-projects --org=${{ env.SNYK_PROJECTS_ORG_ID }} --format=cyclonedx1.4+json --json-file-output sbom.json + args: --all-projects --org=${{ env.SNYK_PROJECTS_ORG_ID }} --format=cyclonedx1.4+json > sbom.json command: sbom - name: Upload SBOM uses: RDXWorks-actions/upload-release-assets@c94805dc72e4b20745f543da0f62eaee7722df7a