From 4efee1a67b5e3932c7888f1f2f3208fe795cc9a8 Mon Sep 17 00:00:00 2001 From: Aditya Patwardhan Date: Fri, 24 May 2024 10:49:14 -0700 Subject: [PATCH] Set packagesroot variable --- .pipelines/templates/release-githubtasks.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.pipelines/templates/release-githubtasks.yml b/.pipelines/templates/release-githubtasks.yml index e94fa16fef..c1e5d1a06a 100644 --- a/.pipelines/templates/release-githubtasks.yml +++ b/.pipelines/templates/release-githubtasks.yml @@ -73,6 +73,10 @@ jobs: Write-Output "Downloaded $blobName to $destinationFile" } + $packagesPath = Get-ChildItem -Path $destinationPath\*.deb -Recurse -File | Select-Object -First 1 -ExpandProperty DirectoryName + Write-Host "sending -- vso[task.setvariable variable=PackagesRoot]$packagesPath" + Write-Host "##vso[task.setvariable variable=PackagesRoot]$packagesPath" + - pwsh: | Get-ChildItem $(System.ArtifactsDirectory)\* -recurse | Select-Object -ExpandProperty FullName displayName: Capture downloaded artifacts