Skip to content

Commit e330e24

Browse files
authored
SBOM Issue: SYFT downgraded to 1.24.0 (#12290)
1 parent 5b6567d commit e330e24

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/create_sbom_report.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,13 @@ jobs:
5757
- name: Install SYFT tool on Windows
5858
if: ${{ runner.os == 'Windows' }}
5959
run: curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | sh -s -- -b D:/syft
60-
- name: Install SYFT tool on Ubuntu or macOS
61-
if: ${{ runner.os != 'Windows' }}
60+
- name: Install SYFT tool on Ubuntu
61+
if: ${{ runner.os == 'Linux' }}
6262
run: curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | sh -s -- -b /usr/local/bin
63+
- name: Install SYFT v1.24.0 on macOS
64+
if: ${{ runner.os == 'macOS' }}
65+
run: curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | sh -s -- -b /usr/local/bin v1.24.0
66+
6367
#Running section.
6468
- name: Run SYFT on Windows
6569
if: ${{ runner.os == 'Windows' }}

0 commit comments

Comments
 (0)