Skip to content

Commit cc99eb6

Browse files
author
freddydk
committed
move
1 parent 5fe7077 commit cc99eb6

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

AppHandling/Run-AlPipeline.ps1

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff 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 $_ })
10261021
if ($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 "`nInstalling app dependencies took $([int]$_.TotalSeconds) seconds" }
10481048
if ($gitHubActions) { Write-Host "::endgroup::" }
10491049
}

0 commit comments

Comments
 (0)