@@ -450,21 +450,20 @@ function GetInstalledAppIds {
450
450
if ($useCompilerFolder ) {
451
451
$existingAppFiles = @ (Get-ChildItem - Path (Join-Path $packagesFolder ' *.app' ) | Select-Object - ExpandProperty FullName)
452
452
$installedApps = @ (GetAppInfo - AppFiles $existingAppFiles - compilerFolder $compilerFolder - cacheAppinfoPath (Join-Path $packagesFolder ' cache_AppInfo.json' ))
453
- $installedAppIds = @ ($installedApps | ForEach-Object { $_.AppId } )
454
453
$compilerFolderAppFiles = @ (Get-ChildItem - Path (Join-Path $compilerFolder ' symbols/*.app' ) | Select-Object - ExpandProperty FullName)
455
- $installedAppIds += @ (GetAppInfo - AppFiles $compilerFolderAppFiles - compilerFolder $compilerFolder - cacheAppinfoPath (Join-Path $compilerFolder ' symbols/cache_AppInfo.json' ) | ForEach-Object { $_ .AppId } )
454
+ $installedApps += @ (GetAppInfo - AppFiles $compilerFolderAppFiles - compilerFolder $compilerFolder - cacheAppinfoPath (Join-Path $compilerFolder ' symbols/cache_AppInfo.json' ))
456
455
457
456
}
458
457
elseif (! $filesOnly ) {
459
- $installedAppIds = @ (Invoke-Command - ScriptBlock $GetBcContainerAppInfo - ArgumentList $Parameters | ForEach-Object { $_ .AppId } )
458
+ $installedApps = @ (Invoke-Command - ScriptBlock $GetBcContainerAppInfo - ArgumentList $Parameters )
460
459
}
461
460
else {
462
- $installedAppIds = @ ()
461
+ $installedApps = @ ()
463
462
}
464
- Write-Host " ::group::Installed AppIds "
465
- $installedAppIds | ForEach-Object { Write-Host " - $_ " }
463
+ Write-Host " ::group::Installed Apps "
464
+ $installedApps | ForEach-Object { Write-Host " - $ ( $_ .AppId ) : $ ( $_ .Name ) " }
466
465
Write-Host " ::endgroup::"
467
- return $installedAppIds
466
+ return $installedApps .AppId
468
467
}
469
468
470
469
$telemetryScope = InitTelemetryScope - name $MyInvocation.InvocationName - parameterValues $PSBoundParameters - includeParameters @ ()
@@ -1397,7 +1396,7 @@ if ($gitHubActions) { Write-Host "::endgroup::" }
1397
1396
}
1398
1397
1399
1398
1400
- if ($ InstallMissingDependencies ) {
1399
+ if ((( $testCountry ) -or ! ( $appFolders -or $testFolders -or $bcptTestFolders )) -and ( $ InstallMissingDependencies) ) {
1401
1400
$Parameters = @ {
1402
1401
" containerName" = $containerName
1403
1402
" tenant" = $tenant
0 commit comments