diff --git a/.github/workflows/create_sbom_report.yml b/.github/workflows/create_sbom_report.yml index f17b9275f..4c9b1dfc9 100644 --- a/.github/workflows/create_sbom_report.yml +++ b/.github/workflows/create_sbom_report.yml @@ -57,9 +57,13 @@ jobs: - name: Install SYFT tool on Windows if: ${{ runner.os == 'Windows' }} run: curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | sh -s -- -b D:/syft - - name: Install SYFT tool on Ubuntu or macOS - if: ${{ runner.os != 'Windows' }} + - name: Install SYFT tool on Ubuntu + if: ${{ runner.os == 'Linux' }} run: curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | sh -s -- -b /usr/local/bin + - name: Install SYFT v1.24.0 on macOS + if: ${{ runner.os == 'macOS' }} + run: curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | sh -s -- -b /usr/local/bin v1.24.0 + #Running section. - name: Run SYFT on Windows if: ${{ runner.os == 'Windows' }}