From 4f90bfd6532d52801b3076d377bde4c31563dac9 Mon Sep 17 00:00:00 2001 From: freddydk Date: Wed, 13 Nov 2024 11:30:03 +0100 Subject: [PATCH] use relative --- Actions/RunPipeline/RunPipeline.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Actions/RunPipeline/RunPipeline.ps1 b/Actions/RunPipeline/RunPipeline.ps1 index 55958eb9b..5e04dd5bb 100644 --- a/Actions/RunPipeline/RunPipeline.ps1 +++ b/Actions/RunPipeline/RunPipeline.ps1 @@ -147,7 +147,7 @@ try { if (!$buildAll) { Push-Location $ENV:GITHUB_WORKSPACE $modifiedFolders = @($settings.appfolders+$settings.testFolders+$settings.bcptTestFolders | Where-Object { - $theFolder = Resolve-Path (Join-Path $baseFolder "$project/$_") -Resolve + $theFolder = Resolve-Path (Join-Path $baseFolder "$project/$_") -Relative Write-Host "Checking $modifiedFiles against '$($theFolder.SubString(2))/*'" $modifiedFiles -like "$($theFolder.SubString(2))/*" })