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
# TemplateUrl is now always a full url + @ and a branch name
50
50
51
51
# CheckForUpdates will read all AL-Go System files from the Template repository and compare them to the ones in the current repository
52
-
# CheckForUpdates will apply changes to the AL-Go System files based on AL-Go repo settings, such as "runs-on", "useProjectDependencies", etc.
52
+
# CheckForUpdates will apply changes to the AL-Go System files based on AL-Go repo settings, such as "runs-on" etc.
53
53
# if $update is set to Y, CheckForUpdates will also update the AL-Go System files in the current repository using a PR or a direct commit (if $directCommit is set to true)
54
54
# if $update is set to N, CheckForUpdates will only check for updates and output a warning if there are updates available
55
55
# if $downloadLatest is set to true, CheckForUpdates will download the latest version of the template repository, else it will use the templateSha setting in the .github/AL-Go-Settings file
@@ -115,11 +115,10 @@ $updateFiles = @()
115
115
# $removeFiles will hold an array of files, which needs to be removed
116
116
$removeFiles=@()
117
117
118
-
# If useProjectDependencies is true, we need to calculate the dependency depth for all projects
119
118
# Dependency depth determines how many build jobs we need to run sequentially
120
119
# Every build job might spin up multiple jobs in parallel to build the projects without unresolved deependencies
121
120
$depth=1
122
-
if ($repoSettings.useProjectDependencies-and$projects.Count-gt1) {
{ Get-ProjectsToBuild-baseFolder $baseFolder-maxBuildDepth 1 } | Should -Throw "The build depth is too deep, the maximum build depth is 1. You need to run 'Update AL-Go System Files' to update the workflows"
0 commit comments