Skip to content

Commit 204de66

Browse files
Fix test to use scanfile (#159)
1 parent ba44ca7 commit 204de66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/windows-ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
run: |
4141
Write-Output "Getting needed updates"
4242
Import-Module ./kbupdate.psd1 -ErrorAction Stop
43-
Get-KbNeededUpdate -ScanFilePath $scanfile -OutVariable needed | Select-Object -First 1 -OutVariable saveit
43+
Get-KbNeededUpdate -ScanFilePath C:\temp\wsusscn2.cab -OutVariable needed | Select-Object -First 1 -OutVariable saveit
4444
$null = mkdir C:\temp\xml
4545
4646
Write-Output "Found $($needed.Count) needed updates"

0 commit comments

Comments
 (0)