File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -1016,11 +1016,6 @@ $Parameters = @{
10161016 " containerName" = $containerName
10171017 " tenant" = $tenant
10181018}
1019- if ($generateDependencyArtifact -and ! ($testCountry )) {
1020- $parameters += @ {
1021- " CopyInstalledAppsToFolder" = Join-Path $buildArtifactFolder " Dependencies"
1022- }
1023- }
10241019$installedAppIds = (Invoke-Command - ScriptBlock $GetBcContainerAppInfo - ArgumentList $Parameters ).AppId
10251020$missingAppDependencies = @ ($missingAppDependencies | Where-Object { $installedAppIds -notcontains $_ })
10261021if ($missingAppDependencies ) {
@@ -1043,7 +1038,12 @@ Measure-Command {
10431038 " tenant" = $tenant
10441039 " missingDependencies" = @ ($unknownAppDependencies | Where-Object { $missingAppDependencies -contains " $_ " .Split(' :' )[0 ] })
10451040 }
1046- Invoke-Command - ScriptBlock $InstallMissingDependencies - ArgumentList $Parameters
1041+ if ($generateDependencyArtifact -and ! ($testCountry )) {
1042+ $parameters += @ {
1043+ " CopyInstalledAppsToFolder" = Join-Path $buildArtifactFolder " Dependencies"
1044+ }
1045+ }
1046+ Invoke-Command - ScriptBlock $InstallMissingDependencies - ArgumentList $Parameters
10471047} | ForEach-Object { Write-Host - ForegroundColor Yellow " `n Installing app dependencies took $ ( [int ]$_.TotalSeconds ) seconds" }
10481048if ($gitHubActions ) { Write-Host " ::endgroup::" }
10491049}
You can’t perform that action at this time.
0 commit comments