You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do not remove downloaded apps from PR builds, they might be needed by
other projects being built.
Fixes#1521
and
Remove unnecessary warnings from deployment
Fixes#1522
and
if settings.workflowSchedule doesn't exist - Update AL-Go System files
fails when running on a schedule
Fixes#1524
---------
Co-authored-by: freddydk <[email protected]>
$msg="Dependency app $($appJson.name) is already installed in version $installedVersion, which is lower than $newVersion."
25
+
if ($dependencyVersion-gt$installedVersion) {
26
+
$msg="Dependency app $($appJson.name) is already installed in version $installedVersion, which is lower than $dependencyVersion."
27
27
if ($installMode-eq'upgrade') {
28
28
Write-Host"$msg Needs upgrade."
29
29
$needsUpgrade=$true
@@ -32,8 +32,8 @@ function CheckIfAppNeedsInstallOrUpgrade {
32
32
Write-Host"::WARNING::$msg Set DependencyInstallMode to 'upgrade' or 'forceUpgrade' to upgrade dependencies."
33
33
}
34
34
}
35
-
elseif ($newVersion-lt$installedVersion) {
36
-
Write-Host"::WARNING::Dependency app $($appJson.name) is already installed in version $installedVersion, which is higher than $newVersion, used for this build. Please update your local copy of this dependency."
35
+
elseif ($dependencyVersion-lt$installedVersion) {
36
+
Write-Host"Dependency app $($appJson.name) is already installed in version $installedVersion, which is higher than $dependencyVersion, used in app.json."
37
37
}
38
38
else {
39
39
Write-Host"Dependency app $($appJson.name) is already installed in version $installedVersion."
@@ -216,7 +216,7 @@ if (Test-Path $artifactsFolder -PathType Container) {
216
216
else {
217
217
$allApps+=$projectApps
218
218
}
219
-
if (!($projectTestApps)) {
219
+
if ($deploymentSettings.includeTestAppsInSandboxEnvironment-and!($projectTestApps)) {
220
220
if ($project-ne'*') {
221
221
Write-Host"::warning::There are no artifacts present in $artifactsFolder matching $project-$refname-$($buildMode)TestApps-<version>."
222
222
}
@@ -259,7 +259,7 @@ else {
259
259
260
260
# Calculate unknown dependencies for all apps and known dependencies
Copy file name to clipboardExpand all lines: Actions/RunPipeline/RunPipeline.ps1
-22Lines changed: 0 additions & 22 deletions
Original file line number
Diff line number
Diff line change
@@ -509,28 +509,6 @@ try {
509
509
-appBuild $appBuild-appRevision $appRevision`
510
510
-uninstallRemovedApps
511
511
512
-
# If any apps were downloaded as part of incremental builds in a pr, we should remove them again after the build to prevent them from being included in artifacts
513
-
if ($ENV:GITHUB_EVENT_NAME-like'pull_request*'-and$downloadedAppsByType) {
0 commit comments