File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 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' }}
You can’t perform that action at this time.
0 commit comments