Skip to content

Commit 830ca6d

Browse files
[releases/24.5] Update AL-Go System Files from microsoft/AL-Go-PTE@preview - b608fc6787759aaac18f1407750c3436b6553b88 / Related to AB#539394 (#2829)
## v6.3 ### Deprecations - `cleanModePreprocessorSymbols` will be removed after April 1st 2025. Use [Conditional Settings](https://aka.ms/algosettings#conditional-settings) instead, specifying buildModes and the `preprocessorSymbols` setting. Read [this](https://aka.ms/algodeprecations#cleanModePreprocessorSymbols) for more information. ### Issues - It is now possible to skip the modification of dependency version numbers when running the Increment Version number workflow or the Create Release workflow ### New Repository Settings - [`shortLivedArtifactsRetentionDays`](https://aka.ms/algosettings#shortLivedArtifactsRetentionDays) determines the number of days to keep short lived build artifacts (f.ex build artifacts from pull request builds, next minor or next major builds). 1 is default. 0 means use GitHub default. - [`preProcessorSymbols`](https://aka.ms/algosettings#preProcessorSymbols) is a list of preprocessor symbols to use when building the apps. This setting can be specified in [workflow specific settings files](https://aka.ms/algosettings#where-are-the-settings-located) or in [conditional settings](https://aka.ms/algosettings#conditional-settings). ### New Versioning Strategy Setting versioning strategy to 3 will allow 3 segments of the version number to be defined in app.json and repoVersion. Only the 4th segment (Revision) will be defined by the GitHub [run_number](https://go.microsoft.com/fwlink/?linkid=2217416&clcid=0x409) for the CI/CD workflow. Increment version number and Create Release now also supports the ability to set a third segment to the RepoVersion and appversion in app.json. ### Change in published artifacts When using `useProjectDependencies` in a multi-project repository, AL-Go for GitHub used to generate short lived build artifacts called `thisBuild-<projectnaame>-<type>-...`. This is no longer the case. Instead, normal build artifacts will be published and used by depending projects. The retention period for the short lived artifacts generated are controlled by a settings called [`shortLivedArtifactsRetentionDays`](https://aka.ms/algosettings#shortLivedArtifactsRetentionDays). ### Preprocessor symbols It is now possible to define preprocessor symbols, which will be used when building your apps using the [`preProcessorSymbols`](https://aka.ms/algosettings#preProcessorSymbols) setting. This setting can be specified in workflow specific settings file or it can be used in conditional settings. Related to [AB#539394](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/539394) Co-authored-by: bcbuild-github-agent <[email protected]>
1 parent 55a5120 commit 830ca6d

23 files changed

+99
-101
lines changed

.github/AL-Go-Settings.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
]
9494
},
9595
"UpdateALGoSystemFilesEnvironment": "Official-Build",
96-
"templateSha": "52b990dc650f1be8736a804faebd2b5567e77e09",
96+
"templateSha": "b608fc6787759aaac18f1407750c3436b6553b88",
9797
"commitOptions": {
9898
"messageSuffix": "Related to AB#539394",
9999
"pullRequestAutoMerge": true,

.github/RELEASENOTES.copy.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
## preview
2-
3-
Note that when using the preview version of AL-Go for GitHub, we recommend you Update your AL-Go system files, as soon as possible when informed that an update is available.
1+
## v6.3
42

53
### Deprecations
64

.github/workflows/CICD.yaml

+21-21
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
workflowDepth: ${{ steps.DetermineWorkflowDepth.outputs.WorkflowDepth }}
4646
steps:
4747
- name: Dump Workflow Information
48-
uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@120540b15626528818b0aca52dc4822eb527e5c4
48+
uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v6.3
4949
with:
5050
shell: powershell
5151

@@ -56,21 +56,21 @@ jobs:
5656

5757
- name: Initialize the workflow
5858
id: init
59-
uses: microsoft/AL-Go/Actions/WorkflowInitialize@120540b15626528818b0aca52dc4822eb527e5c4
59+
uses: microsoft/AL-Go-Actions/WorkflowInitialize@v6.3
6060
with:
6161
shell: powershell
6262

6363
- name: Read settings
6464
id: ReadSettings
65-
uses: microsoft/AL-Go/Actions/ReadSettings@120540b15626528818b0aca52dc4822eb527e5c4
65+
uses: microsoft/AL-Go-Actions/ReadSettings@v6.3
6666
with:
6767
shell: powershell
6868
get: type,powerPlatformSolutionFolder,useGitSubmodules
6969

7070
- name: Read submodules token
7171
id: ReadSubmodulesToken
7272
if: env.useGitSubmodules != 'false' && env.useGitSubmodules != ''
73-
uses: microsoft/AL-Go/Actions/ReadSecrets@120540b15626528818b0aca52dc4822eb527e5c4
73+
uses: microsoft/AL-Go-Actions/ReadSecrets@v6.3
7474
with:
7575
shell: powershell
7676
gitHubSecrets: ${{ toJson(secrets) }}
@@ -91,7 +91,7 @@ jobs:
9191
9292
- name: Determine Projects To Build
9393
id: determineProjectsToBuild
94-
uses: microsoft/AL-Go/Actions/DetermineProjectsToBuild@120540b15626528818b0aca52dc4822eb527e5c4
94+
uses: microsoft/AL-Go-Actions/DetermineProjectsToBuild@v6.3
9595
with:
9696
shell: powershell
9797
maxBuildDepth: ${{ env.workflowDepth }}
@@ -104,23 +104,23 @@ jobs:
104104
105105
- name: Determine Delivery Target Secrets
106106
id: DetermineDeliveryTargetSecrets
107-
uses: microsoft/AL-Go/Actions/DetermineDeliveryTargets@120540b15626528818b0aca52dc4822eb527e5c4
107+
uses: microsoft/AL-Go-Actions/DetermineDeliveryTargets@v6.3
108108
with:
109109
shell: powershell
110110
projectsJson: '${{ steps.determineProjectsToBuild.outputs.ProjectsJson }}'
111111
checkContextSecrets: 'false'
112112

113113
- name: Read secrets
114114
id: ReadSecrets
115-
uses: microsoft/AL-Go/Actions/ReadSecrets@120540b15626528818b0aca52dc4822eb527e5c4
115+
uses: microsoft/AL-Go-Actions/ReadSecrets@v6.3
116116
with:
117117
shell: powershell
118118
gitHubSecrets: ${{ toJson(secrets) }}
119119
getSecrets: ${{ steps.DetermineDeliveryTargetSecrets.outputs.ContextSecrets }}
120120

121121
- name: Determine Delivery Targets
122122
id: DetermineDeliveryTargets
123-
uses: microsoft/AL-Go/Actions/DetermineDeliveryTargets@120540b15626528818b0aca52dc4822eb527e5c4
123+
uses: microsoft/AL-Go-Actions/DetermineDeliveryTargets@v6.3
124124
env:
125125
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}'
126126
with:
@@ -130,7 +130,7 @@ jobs:
130130

131131
- name: Determine Deployment Environments
132132
id: DetermineDeploymentEnvironments
133-
uses: microsoft/AL-Go/Actions/DetermineDeploymentEnvironments@120540b15626528818b0aca52dc4822eb527e5c4
133+
uses: microsoft/AL-Go-Actions/DetermineDeploymentEnvironments@v6.3
134134
env:
135135
GITHUB_TOKEN: ${{ github.token }}
136136
with:
@@ -146,13 +146,13 @@ jobs:
146146
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
147147

148148
- name: Read settings
149-
uses: microsoft/AL-Go/Actions/ReadSettings@120540b15626528818b0aca52dc4822eb527e5c4
149+
uses: microsoft/AL-Go-Actions/ReadSettings@v6.3
150150
with:
151151
shell: powershell
152152
get: templateUrl
153153

154154
- name: Check for updates to AL-Go system files
155-
uses: microsoft/AL-Go/Actions/CheckForUpdates@120540b15626528818b0aca52dc4822eb527e5c4
155+
uses: microsoft/AL-Go-Actions/CheckForUpdates@v6.3
156156
with:
157157
shell: powershell
158158
templateUrl: ${{ env.templateUrl }}
@@ -223,7 +223,7 @@ jobs:
223223
path: '.artifacts'
224224

225225
- name: Read settings
226-
uses: microsoft/AL-Go/Actions/ReadSettings@120540b15626528818b0aca52dc4822eb527e5c4
226+
uses: microsoft/AL-Go-Actions/ReadSettings@v6.3
227227
with:
228228
shell: powershell
229229

@@ -232,7 +232,7 @@ jobs:
232232
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0
233233

234234
- name: Build Reference Documentation
235-
uses: microsoft/AL-Go/Actions/BuildReferenceDocumentation@120540b15626528818b0aca52dc4822eb527e5c4
235+
uses: microsoft/AL-Go-Actions/BuildReferenceDocumentation@v6.3
236236
with:
237237
shell: powershell
238238
artifacts: '.artifacts'
@@ -269,7 +269,7 @@ jobs:
269269
path: '.artifacts'
270270

271271
- name: Read settings
272-
uses: microsoft/AL-Go/Actions/ReadSettings@120540b15626528818b0aca52dc4822eb527e5c4
272+
uses: microsoft/AL-Go-Actions/ReadSettings@v6.3
273273
with:
274274
shell: ${{ matrix.shell }}
275275
get: type,powerPlatformSolutionFolder
@@ -283,15 +283,15 @@ jobs:
283283
284284
- name: Read secrets
285285
id: ReadSecrets
286-
uses: microsoft/AL-Go/Actions/ReadSecrets@120540b15626528818b0aca52dc4822eb527e5c4
286+
uses: microsoft/AL-Go-Actions/ReadSecrets@v6.3
287287
with:
288288
shell: ${{ matrix.shell }}
289289
gitHubSecrets: ${{ toJson(secrets) }}
290290
getSecrets: '${{ steps.envName.outputs.envName }}-AuthContext,${{ steps.envName.outputs.envName }}_AuthContext,AuthContext'
291291

292292
- name: Deploy to Business Central
293293
id: Deploy
294-
uses: microsoft/AL-Go/Actions/Deploy@120540b15626528818b0aca52dc4822eb527e5c4
294+
uses: microsoft/AL-Go-Actions/Deploy@v6.3
295295
env:
296296
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}'
297297
with:
@@ -303,7 +303,7 @@ jobs:
303303

304304
- name: Deploy to Power Platform
305305
if: env.type == 'PTE' && env.powerPlatformSolutionFolder != ''
306-
uses: microsoft/AL-Go/Actions/DeployPowerPlatform@120540b15626528818b0aca52dc4822eb527e5c4
306+
uses: microsoft/AL-Go-Actions/DeployPowerPlatform@v6.3
307307
env:
308308
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}'
309309
with:
@@ -331,20 +331,20 @@ jobs:
331331
path: '.artifacts'
332332

333333
- name: Read settings
334-
uses: microsoft/AL-Go/Actions/ReadSettings@120540b15626528818b0aca52dc4822eb527e5c4
334+
uses: microsoft/AL-Go-Actions/ReadSettings@v6.3
335335
with:
336336
shell: powershell
337337

338338
- name: Read secrets
339339
id: ReadSecrets
340-
uses: microsoft/AL-Go/Actions/ReadSecrets@120540b15626528818b0aca52dc4822eb527e5c4
340+
uses: microsoft/AL-Go-Actions/ReadSecrets@v6.3
341341
with:
342342
shell: powershell
343343
gitHubSecrets: ${{ toJson(secrets) }}
344344
getSecrets: '${{ matrix.deliveryTarget }}Context'
345345

346346
- name: Deliver
347-
uses: microsoft/AL-Go/Actions/Deliver@120540b15626528818b0aca52dc4822eb527e5c4
347+
uses: microsoft/AL-Go-Actions/Deliver@v6.3
348348
env:
349349
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}'
350350
with:
@@ -364,7 +364,7 @@ jobs:
364364

365365
- name: Finalize the workflow
366366
id: PostProcess
367-
uses: microsoft/AL-Go/Actions/WorkflowPostProcess@120540b15626528818b0aca52dc4822eb527e5c4
367+
uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v6.3
368368
env:
369369
GITHUB_TOKEN: ${{ github.token }}
370370
with:

.github/workflows/DeployReferenceDocumentation.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -30,18 +30,18 @@ jobs:
3030

3131
- name: Initialize the workflow
3232
id: init
33-
uses: microsoft/AL-Go/Actions/WorkflowInitialize@120540b15626528818b0aca52dc4822eb527e5c4
33+
uses: microsoft/AL-Go-Actions/WorkflowInitialize@v6.3
3434
with:
3535
shell: powershell
3636

3737
- name: Read settings
38-
uses: microsoft/AL-Go/Actions/ReadSettings@120540b15626528818b0aca52dc4822eb527e5c4
38+
uses: microsoft/AL-Go-Actions/ReadSettings@v6.3
3939
with:
4040
shell: powershell
4141

4242
- name: Determine Deployment Environments
4343
id: DetermineDeploymentEnvironments
44-
uses: microsoft/AL-Go/Actions/DetermineDeploymentEnvironments@120540b15626528818b0aca52dc4822eb527e5c4
44+
uses: microsoft/AL-Go-Actions/DetermineDeploymentEnvironments@v6.3
4545
env:
4646
GITHUB_TOKEN: ${{ github.token }}
4747
with:
@@ -54,7 +54,7 @@ jobs:
5454
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0
5555

5656
- name: Build Reference Documentation
57-
uses: microsoft/AL-Go/Actions/BuildReferenceDocumentation@120540b15626528818b0aca52dc4822eb527e5c4
57+
uses: microsoft/AL-Go-Actions/BuildReferenceDocumentation@v6.3
5858
with:
5959
shell: powershell
6060
artifacts: 'latest'
@@ -71,7 +71,7 @@ jobs:
7171

7272
- name: Finalize the workflow
7373
if: always()
74-
uses: microsoft/AL-Go/Actions/WorkflowPostProcess@120540b15626528818b0aca52dc4822eb527e5c4
74+
uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v6.3
7575
env:
7676
GITHUB_TOKEN: ${{ github.token }}
7777
with:

.github/workflows/IncrementVersionNumber.yaml

+6-6
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
pull-requests: write
4646
steps:
4747
- name: Dump Workflow Information
48-
uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@120540b15626528818b0aca52dc4822eb527e5c4
48+
uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v6.3
4949
with:
5050
shell: powershell
5151

@@ -54,26 +54,26 @@ jobs:
5454

5555
- name: Initialize the workflow
5656
id: init
57-
uses: microsoft/AL-Go/Actions/WorkflowInitialize@120540b15626528818b0aca52dc4822eb527e5c4
57+
uses: microsoft/AL-Go-Actions/WorkflowInitialize@v6.3
5858
with:
5959
shell: powershell
6060

6161
- name: Read settings
62-
uses: microsoft/AL-Go/Actions/ReadSettings@120540b15626528818b0aca52dc4822eb527e5c4
62+
uses: microsoft/AL-Go-Actions/ReadSettings@v6.3
6363
with:
6464
shell: powershell
6565

6666
- name: Read secrets
6767
id: ReadSecrets
68-
uses: microsoft/AL-Go/Actions/ReadSecrets@120540b15626528818b0aca52dc4822eb527e5c4
68+
uses: microsoft/AL-Go-Actions/ReadSecrets@v6.3
6969
with:
7070
shell: powershell
7171
gitHubSecrets: ${{ toJson(secrets) }}
7272
getSecrets: 'TokenForPush'
7373
useGhTokenWorkflowForPush: '${{ github.event.inputs.useGhTokenWorkflow }}'
7474

7575
- name: Increment Version Number
76-
uses: microsoft/AL-Go/Actions/IncrementVersionNumber@120540b15626528818b0aca52dc4822eb527e5c4
76+
uses: microsoft/AL-Go-Actions/IncrementVersionNumber@v6.3
7777
with:
7878
shell: powershell
7979
token: ${{ steps.ReadSecrets.outputs.TokenForPush }}
@@ -84,7 +84,7 @@ jobs:
8484

8585
- name: Finalize the workflow
8686
if: always()
87-
uses: microsoft/AL-Go/Actions/WorkflowPostProcess@120540b15626528818b0aca52dc4822eb527e5c4
87+
uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v6.3
8888
env:
8989
GITHUB_TOKEN: ${{ github.token }}
9090
with:

.github/workflows/PullRequestHandler.yaml

+7-7
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
if: (github.event.pull_request.base.repo.full_name != github.event.pull_request.head.repo.full_name) && (github.event_name != 'pull_request')
2929
runs-on: windows-latest
3030
steps:
31-
- uses: microsoft/AL-Go/Actions/VerifyPRChanges@120540b15626528818b0aca52dc4822eb527e5c4
31+
- uses: microsoft/AL-Go-Actions/VerifyPRChanges@v6.3
3232

3333
Initialization:
3434
needs: [ PregateCheck ]
@@ -44,7 +44,7 @@ jobs:
4444
telemetryScopeJson: ${{ steps.init.outputs.telemetryScopeJson }}
4545
steps:
4646
- name: Dump Workflow Information
47-
uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@120540b15626528818b0aca52dc4822eb527e5c4
47+
uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v6.3
4848
with:
4949
shell: powershell
5050

@@ -56,13 +56,13 @@ jobs:
5656

5757
- name: Initialize the workflow
5858
id: init
59-
uses: microsoft/AL-Go/Actions/WorkflowInitialize@120540b15626528818b0aca52dc4822eb527e5c4
59+
uses: microsoft/AL-Go-Actions/WorkflowInitialize@v6.3
6060
with:
6161
shell: powershell
6262

6363
- name: Read settings
6464
id: ReadSettings
65-
uses: microsoft/AL-Go/Actions/ReadSettings@120540b15626528818b0aca52dc4822eb527e5c4
65+
uses: microsoft/AL-Go-Actions/ReadSettings@v6.3
6666
with:
6767
shell: powershell
6868
get: shortLivedArtifactsRetentionDays
@@ -75,7 +75,7 @@ jobs:
7575
7676
- name: Determine Projects To Build
7777
id: determineProjectsToBuild
78-
uses: microsoft/AL-Go/Actions/DetermineProjectsToBuild@120540b15626528818b0aca52dc4822eb527e5c4
78+
uses: microsoft/AL-Go-Actions/DetermineProjectsToBuild@v6.3
7979
with:
8080
shell: powershell
8181
maxBuildDepth: ${{ env.workflowDepth }}
@@ -134,15 +134,15 @@ jobs:
134134
steps:
135135
- name: Pull Request Status Check
136136
id: PullRequestStatusCheck
137-
uses: microsoft/AL-Go/Actions/PullRequestStatusCheck@120540b15626528818b0aca52dc4822eb527e5c4
137+
uses: microsoft/AL-Go-Actions/PullRequestStatusCheck@v6.3
138138
env:
139139
GITHUB_TOKEN: ${{ github.token }}
140140
with:
141141
shell: powershell
142142

143143
- name: Finalize the workflow
144144
id: PostProcess
145-
uses: microsoft/AL-Go/Actions/WorkflowPostProcess@120540b15626528818b0aca52dc4822eb527e5c4
145+
uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v6.3
146146
if: success() || failure()
147147
env:
148148
GITHUB_TOKEN: ${{ github.token }}

.github/workflows/Troubleshooting.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
lfs: true
3131

3232
- name: Troubleshooting
33-
uses: microsoft/AL-Go/Actions/Troubleshooting@120540b15626528818b0aca52dc4822eb527e5c4
33+
uses: microsoft/AL-Go-Actions/Troubleshooting@v6.3
3434
with:
3535
shell: powershell
3636
gitHubSecrets: ${{ toJson(secrets) }}

0 commit comments

Comments
 (0)