Skip to content

Commit 760d7b8

Browse files
committed
Update cd-download-grype-scan.yml
1 parent 5663d99 commit 760d7b8

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/cd-download-grype-scan.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,12 @@ jobs:
445445
Get-ChildItem -Path ".\bin" -Recurse -Depth 3
446446
# Copy-Item -Path ".\bin" -Destination $ExtractPath -Recurse -Force
447447
}
448-
if (Test-Path "C:\opscode\chef") {
448+
if (Test-Path "C:\hab\pkgs") {
449+
Write-Host "Found installation at: C:\hab\pkgs"
450+
Get-ChildItem -Path "C:\hab\pkgs" -Recurse -Depth 3
451+
Copy-Item -Path "C:\hab\pkgs" -Destination $ExtractPath -Recurse -Force
452+
}
453+
if (Test-Path "C:\opscode\chef") {
449454
Write-Host "Found installation at: C:\opscode\chef"
450455
Get-ChildItem -Path "C:\opscode\chef" -Recurse -Depth 1
451456
Copy-Item -Path "C:\opscode\chef" -Destination $ExtractPath -Recurse -Force

0 commit comments

Comments
 (0)