Skip to content

Commit ad15716

Browse files
Fix search directory
1 parent 7191ebe commit ad15716

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.ci/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,15 +123,15 @@ jobs:
123123
Invoke-WebRequest -Uri $uri -OutFile $destPath
124124
125125
if ($IsWindows) {
126-
Expand-Archive -Path $destPath -DestinationPath $env:AGENT_TEMPDIRECTORY -Force
126+
Expand-Archive -Path $destPath -DestinationPath $env:AGENT_TEMPDIRECTORY -Force -Verbose
127127
}
128128
else {
129129
tar -xzf $destPath -C $env:AGENT_TEMPDIRECTORY
130130
}
131131
132132
$executableFileName = $executableName + $executableExt
133133
134-
$executable = Get-ChildItem -Path $destPath -File -Recurse -Verbose | Where-Object { $_.Name -eq $executableFileName } | Select-Object -First 1
134+
$executable = Get-ChildItem -Path $env:AGENT_TEMPDIRECTORY -File -Recurse -Verbose | Where-Object { $_.Name -eq $executableFileName } | Select-Object -First 1
135135
136136
if (-not $executable) {
137137
throw "Could not find dsc executable in the downloaded package"

0 commit comments

Comments
 (0)