Skip to content

Commit 0b118ac

Browse files
[actions] Fix active drive for SBOM on ephemeral runner (#12681)
* [actions] Fix active drive for SBOM on ephemeral runner * Fix Cyrillic chars Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 128857e commit 0b118ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/create_sbom_report.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
}
5757
- name: Install SYFT tool on Windows
5858
if: ${{ runner.os == 'Windows' }}
59-
run: curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | sh -s -- -b D:/syft
59+
run: curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | sh -s -- -b C:/syft
6060
- name: Install SYFT tool on Ubuntu
6161
if: ${{ runner.os == 'Linux' }}
6262
run: curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | sh -s -- -b /usr/local/bin
@@ -67,7 +67,7 @@ jobs:
6767
#Running section.
6868
- name: Run SYFT on Windows
6969
if: ${{ runner.os == 'Windows' }}
70-
run: D:/syft/syft dir:C:/ -vv -o spdx-json=sbom.json
70+
run: C:/syft/syft dir:C:/ -vv -o spdx-json=sbom.json
7171
- name: Run SYFT on Ubuntu
7272
if: ${{ runner.os == 'Linux' }}
7373
run: syft dir:/ -vv -o spdx-json=sbom.json

0 commit comments

Comments
 (0)