From 964b509df08515ec8723683431dd966dacffbfbd Mon Sep 17 00:00:00 2001 From: Erik Bershel <110455084+erik-bershel@users.noreply.github.com> Date: Wed, 22 Mar 2023 08:49:54 +0100 Subject: [PATCH] Update SBOM workflow to use syft with bash shell for macOS (#7322) --- .github/workflows/create_sbom_report.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/create_sbom_report.yml b/.github/workflows/create_sbom_report.yml index 38831a610..fb3a43806 100644 --- a/.github/workflows/create_sbom_report.yml +++ b/.github/workflows/create_sbom_report.yml @@ -46,6 +46,7 @@ jobs: - name: Run SYFT on macOS if: ${{ runner.os == 'macOS' }} run: syft dir:/ -vv -o spdx-json=sbom.json --exclude ./Users --exclude ./System/Volumes --exclude ./private + shell: bash #Preparing artifact (raw SBOM.json is too big) - name: Compress SBOM file run: Compress-Archive sbom.json sbom.json.zip