Update SBOM workflow to use syft with bash shell for macOS (#7322)

This commit is contained in:
Erik Bershel
2023-03-22 08:49:54 +01:00
committed by GitHub
parent 39fc5b4fff
commit 964b509df0

View File

@@ -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