Skip to content
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

Commit 3aa52be

Browse files
committed
fix tar extraction
1 parent 8fdd358 commit 3aa52be

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.pipelines/templates/scanJob.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,12 @@ jobs:
2828
artifact: drop_build_$(channel)_build_$(channel)_targz
2929

3030
- pwsh: |
31-
$snaps = Get-ChildItem $(DOWNLOAD_DIRECTORY)/*.snap -recurse -File | Select-Object -ExpandProperty FullName
31+
$targzs = Get-ChildItem $(DOWNLOAD_DIRECTORY)/*.tar.gz -recurse -File | Select-Object -ExpandProperty FullName
3232
33-
foreach($snap in $snaps)
33+
foreach($targz in $targzs)
3434
{
35+
Write-Verbose -Verbose "Extracting $targz"
3536
$target = $(ob_outputDirectory)
36-
tar -xvf $snap -C $target
37+
tar -xvf $targz -C $target
3738
}
3839
displayName: 'Extract Tar.Gz'

0 commit comments

Comments
 (0)