From e330e24b7e154207c9d76ce3b5472bfc6ceef55f Mon Sep 17 00:00:00 2001 From: sangeeths03 Date: Mon, 2 Jun 2025 17:58:28 +0530 Subject: [PATCH] SBOM Issue: SYFT downgraded to 1.24.0 (#12290) --- .github/workflows/create_sbom_report.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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' }}