@@ -39,33 +39,53 @@ jobs:
3939 githubRunner : ${{ steps.ReadSettings.outputs.GitHubRunnerJson }}
4040 githubRunnerShell : ${{ steps.ReadSettings.outputs.GitHubRunnerShell }}
4141 projects : ${{ steps.determineProjectsToBuild.outputs.ProjectsJson }}
42+ skippedProjects : ${{ steps.determineProjectsToBuild.outputs.SkippedProjectsJson }}
4243 projectDependenciesJson : ${{ steps.determineProjectsToBuild.outputs.ProjectDependenciesJson }}
4344 buildOrderJson : ${{ steps.determineProjectsToBuild.outputs.BuildOrderJson }}
44- powerPlatformSolutionFolder : ${{ steps.DeterminePowerPlatformSolutionFolder.outputs.powerPlatformSolutionFolder }}
45+ baselineWorkflowRunId : ${{ steps.determineProjectsToBuild.outputs.BaselineWorkflowRunId }}
46+ baselineWorkflowSHA : ${{ steps.determineProjectsToBuild.outputs.BaselineWorkflowSHA }}
4547 workflowDepth : ${{ steps.DetermineWorkflowDepth.outputs.WorkflowDepth }}
48+ powerPlatformSolutionFolder : ${{ steps.DeterminePowerPlatformSolutionFolder.outputs.powerPlatformSolutionFolder }}
4649 steps :
4750 - name : Dump Workflow Information
48- uses : CBS-BC-AT/AL-Go-Actions/DumpWorkflowInfo@v6.0
51+ uses : CBS-BC-AT/AL-Go-Actions/DumpWorkflowInfo@cegeka/preview
4952 with :
5053 shell : powershell
5154
5255 - name : Checkout
53- uses : actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
56+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
5457 with :
5558 lfs : true
5659
5760 - name : Initialize the workflow
5861 id : init
59- uses : CBS-BC-AT/AL-Go-Actions/WorkflowInitialize@v6.0
62+ uses : CBS-BC-AT/AL-Go-Actions/WorkflowInitialize@cegeka/preview
6063 with :
6164 shell : powershell
6265
6366 - name : Read settings
6467 id : ReadSettings
65- uses : CBS-BC-AT/AL-Go-Actions/ReadSettings@v6.0
68+ uses : CBS-BC-AT/AL-Go-Actions/ReadSettings@cegeka/preview
69+ with :
70+ shell : powershell
71+ get : type,powerPlatformSolutionFolder,useGitSubmodules
72+
73+ - name : Read submodules token
74+ id : ReadSubmodulesToken
75+ if : env.useGitSubmodules != 'false' && env.useGitSubmodules != ''
76+ uses : CBS-BC-AT/AL-Go-Actions/ReadSecrets@cegeka/preview
6677 with :
6778 shell : powershell
68- get : type, powerPlatformSolutionFolder
79+ gitHubSecrets : ${{ toJson(secrets) }}
80+ getSecrets : ' -gitSubmodulesToken'
81+
82+ - name : Checkout Submodules
83+ if : env.useGitSubmodules != 'false' && env.useGitSubmodules != ''
84+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
85+ with :
86+ lfs : true
87+ submodules : ${{ env.useGitSubmodules }}
88+ token : ' ${{ fromJson(steps.ReadSubmodulesToken.outputs.Secrets).gitSubmodulesToken }}'
6989
7090 - name : Determine Workflow Depth
7191 id : DetermineWorkflowDepth
7494
7595 - name : Determine Projects To Build
7696 id : determineProjectsToBuild
77- uses : CBS-BC-AT/AL-Go-Actions/DetermineProjectsToBuild@v6.0
97+ uses : CBS-BC-AT/AL-Go-Actions/DetermineProjectsToBuild@cegeka/preview
7898 with :
7999 shell : powershell
80100 maxBuildDepth : ${{ env.workflowDepth }}
@@ -87,23 +107,23 @@ jobs:
87107
88108 - name : Determine Delivery Target Secrets
89109 id : DetermineDeliveryTargetSecrets
90- uses : CBS-BC-AT/AL-Go-Actions/DetermineDeliveryTargets@v6.0
110+ uses : CBS-BC-AT/AL-Go-Actions/DetermineDeliveryTargets@cegeka/preview
91111 with :
92112 shell : powershell
93113 projectsJson : ' ${{ steps.determineProjectsToBuild.outputs.ProjectsJson }}'
94114 checkContextSecrets : ' false'
95115
96116 - name : Read secrets
97117 id : ReadSecrets
98- uses : CBS-BC-AT/AL-Go-Actions/ReadSecrets@v6.0
118+ uses : CBS-BC-AT/AL-Go-Actions/ReadSecrets@cegeka/preview
99119 with :
100120 shell : powershell
101121 gitHubSecrets : ${{ toJson(secrets) }}
102122 getSecrets : ${{ steps.DetermineDeliveryTargetSecrets.outputs.ContextSecrets }}
103123
104124 - name : Determine Delivery Targets
105125 id : DetermineDeliveryTargets
106- uses : CBS-BC-AT/AL-Go-Actions/DetermineDeliveryTargets@v6.0
126+ uses : CBS-BC-AT/AL-Go-Actions/DetermineDeliveryTargets@cegeka/preview
107127 env :
108128 Secrets : ' ${{ steps.ReadSecrets.outputs.Secrets }}'
109129 with :
@@ -113,7 +133,7 @@ jobs:
113133
114134 - name : Determine Deployment Environments
115135 id : DetermineDeploymentEnvironments
116- uses : CBS-BC-AT/AL-Go-Actions/DetermineDeploymentEnvironments@v6.0
136+ uses : CBS-BC-AT/AL-Go-Actions/DetermineDeploymentEnvironments@cegeka/preview
117137 env :
118138 GITHUB_TOKEN : ${{ github.token }}
119139 with :
@@ -126,19 +146,28 @@ jobs:
126146 runs-on : [ windows-latest ]
127147 steps :
128148 - name : Checkout
129- uses : actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
149+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
130150
131151 - name : Read settings
132- uses : CBS-BC-AT/AL-Go-Actions/ReadSettings@v6.0
152+ uses : CBS-BC-AT/AL-Go-Actions/ReadSettings@cegeka/preview
133153 with :
134154 shell : powershell
135155 get : templateUrl
136156
157+ - name : Read secrets
158+ id : ReadSecrets
159+ uses : CBS-BC-AT/AL-Go-Actions/ReadSecrets@cegeka/preview
160+ with :
161+ shell : powershell
162+ gitHubSecrets : ${{ toJson(secrets) }}
163+ getSecrets : ' ghTokenWorkflow'
164+
137165 - name : Check for updates to AL-Go system files
138- uses : CBS-BC-AT/AL-Go-Actions/CheckForUpdates@v6.0
166+ uses : CBS-BC-AT/AL-Go-Actions/CheckForUpdates@cegeka/preview
139167 with :
140168 shell : powershell
141169 templateUrl : ${{ env.templateUrl }}
170+ token : ${{ fromJson(steps.ReadSecrets.outputs.Secrets).ghTokenWorkflow }}
142171 downloadLatest : true
143172
144173 Build :
@@ -157,10 +186,11 @@ jobs:
157186 project : ${{ matrix.project }}
158187 projectName : ${{ matrix.projectName }}
159188 buildMode : ${{ matrix.buildMode }}
189+ skippedProjectsJson : ${{ needs.Initialization.outputs.skippedProjects }}
160190 projectDependenciesJson : ${{ needs.Initialization.outputs.projectDependenciesJson }}
191+ baselineWorkflowRunId : ${{ needs.Initialization.outputs.baselineWorkflowRunId }}
192+ baselineWorkflowSHA : ${{ needs.Initialization.outputs.baselineWorkflowSHA }}
161193 secrets : ' licenseFileUrl,codeSignCertificateUrl,*codeSignCertificatePassword,keyVaultCertificateUrl,*keyVaultCertificatePassword,keyVaultClientId,gitHubPackagesContext,applicationInsightsConnectionString'
162- publishThisBuildArtifacts : ${{ needs.Initialization.outputs.workflowDepth > 1 }}
163- publishArtifacts : ${{ github.ref_name == 'main' || startswith(github.ref_name, 'release/') || startswith(github.ref_name, 'releases/') || needs.Initialization.outputs.deliveryTargetsJson != '[]' || needs.Initialization.outputs.environmentCount > 0 }}
164194 signArtifacts : true
165195 useArtifactCache : true
166196
@@ -179,15 +209,15 @@ jobs:
179209 url : ${{ steps.deployment.outputs.page_url }}
180210 steps :
181211 - name : Checkout
182- uses : actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
212+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
183213
184214 - name : Download artifacts
185215 uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
186216 with :
187217 path : ' .artifacts'
188218
189219 - name : Read settings
190- uses : CBS-BC-AT/AL-Go-Actions/ReadSettings@v6.0
220+ uses : CBS-BC-AT/AL-Go-Actions/ReadSettings@cegeka/preview
191221 with :
192222 shell : powershell
193223
@@ -196,7 +226,7 @@ jobs:
196226 uses : actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0
197227
198228 - name : Build Reference Documentation
199- uses : CBS-BC-AT/AL-Go-Actions/BuildReferenceDocumentation@v6.0
229+ uses : CBS-BC-AT/AL-Go-Actions/BuildReferenceDocumentation@cegeka/preview
200230 with :
201231 shell : powershell
202232 artifacts : ' .artifacts'
@@ -225,15 +255,15 @@ jobs:
225255 url : ${{ steps.Deploy.outputs.environmentUrl }}
226256 steps :
227257 - name : Checkout
228- uses : actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
258+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
229259
230260 - name : Download artifacts
231261 uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
232262 with :
233263 path : ' .artifacts'
234264
235265 - name : Read settings
236- uses : CBS-BC-AT/AL-Go-Actions/ReadSettings@v6.0
266+ uses : CBS-BC-AT/AL-Go-Actions/ReadSettings@cegeka/preview
237267 with :
238268 shell : ${{ matrix.shell }}
239269 get : type,powerPlatformSolutionFolder
@@ -247,15 +277,15 @@ jobs:
247277
248278 - name : Read secrets
249279 id : ReadSecrets
250- uses : CBS-BC-AT/AL-Go-Actions/ReadSecrets@v6.0
280+ uses : CBS-BC-AT/AL-Go-Actions/ReadSecrets@cegeka/preview
251281 with :
252282 shell : ${{ matrix.shell }}
253283 gitHubSecrets : ${{ toJson(secrets) }}
254284 getSecrets : ' ${{ steps.envName.outputs.envName }}-AuthContext,${{ steps.envName.outputs.envName }}_AuthContext,AuthContext'
255285
256286 - name : Deploy to Business Central
257287 id : Deploy
258- uses : CBS-BC-AT/AL-Go-Actions/Deploy@v6.0
288+ uses : CBS-BC-AT/AL-Go-Actions/Deploy@cegeka/preview
259289 env :
260290 Secrets : ' ${{ steps.ReadSecrets.outputs.Secrets }}'
261291 with :
@@ -267,7 +297,7 @@ jobs:
267297
268298 - name : Deploy to Power Platform
269299 if : env.type == 'PTE' && env.powerPlatformSolutionFolder != ''
270- uses : CBS-BC-AT/AL-Go-Actions/DeployPowerPlatform@v6.0
300+ uses : CBS-BC-AT/AL-Go-Actions/DeployPowerPlatform@cegeka/preview
271301 env :
272302 Secrets : ' ${{ steps.ReadSecrets.outputs.Secrets }}'
273303 with :
@@ -287,28 +317,28 @@ jobs:
287317 name : Deliver to ${{ matrix.deliveryTarget }}
288318 steps :
289319 - name : Checkout
290- uses : actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
320+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
291321
292322 - name : Download artifacts
293323 uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
294324 with :
295325 path : ' .artifacts'
296326
297327 - name : Read settings
298- uses : CBS-BC-AT/AL-Go-Actions/ReadSettings@v6.0
328+ uses : CBS-BC-AT/AL-Go-Actions/ReadSettings@cegeka/preview
299329 with :
300330 shell : powershell
301331
302332 - name : Read secrets
303333 id : ReadSecrets
304- uses : CBS-BC-AT/AL-Go-Actions/ReadSecrets@v6.0
334+ uses : CBS-BC-AT/AL-Go-Actions/ReadSecrets@cegeka/preview
305335 with :
306336 shell : powershell
307337 gitHubSecrets : ${{ toJson(secrets) }}
308338 getSecrets : ' ${{ matrix.deliveryTarget }}Context'
309339
310340 - name : Deliver
311- uses : CBS-BC-AT/AL-Go-Actions/Deliver@v6.0
341+ uses : CBS-BC-AT/AL-Go-Actions/Deliver@cegeka/preview
312342 env :
313343 Secrets : ' ${{ steps.ReadSecrets.outputs.Secrets }}'
314344 with :
@@ -324,11 +354,11 @@ jobs:
324354 runs-on : [ windows-latest ]
325355 steps :
326356 - name : Checkout
327- uses : actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
357+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
328358
329359 - name : Finalize the workflow
330360 id : PostProcess
331- uses : CBS-BC-AT/AL-Go-Actions/WorkflowPostProcess@v6.0
361+ uses : CBS-BC-AT/AL-Go-Actions/WorkflowPostProcess@cegeka/preview
332362 env :
333363 GITHUB_TOKEN : ${{ github.token }}
334364 with :
0 commit comments