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