Skip to content

Commit 2bc992b

Browse files
committed
Merge branch 'main' of https://github.com/microsoft/BCApps into private/aholstrup/555754_scaffolding
2 parents 7bf9af4 + b958b27 commit 2bc992b

File tree

25 files changed

+127
-104
lines changed

25 files changed

+127
-104
lines changed

.github/AL-Go-Settings.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"runs-on": "windows-latest",
66
"cacheImageName": "",
77
"UsePsSession": false,
8-
"artifact": "https://bcinsider-fvh2ekdjecfjd6gk.b02.azurefd.net/sandbox/26.0.28288.0/base",
8+
"artifact": "https://bcinsider-fvh2ekdjecfjd6gk.b02.azurefd.net/sandbox/26.0.28370.0/base",
99
"country": "base",
1010
"useProjectDependencies": true,
1111
"repoVersion": "26.0",
@@ -73,7 +73,7 @@
7373
]
7474
},
7575
"UpdateALGoSystemFilesEnvironment": "Official-Build",
76-
"templateSha": "ef914042bcf3fb640cbf150a975c08e33657cf4a",
76+
"templateSha": "f38e373bfc51cc2349114b04a159f7179de47502",
7777
"commitOptions": {
7878
"messageSuffix": "Related to AB#539394",
7979
"pullRequestAutoMerge": true,

.github/RELEASENOTES.copy.md

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
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.
4+
5+
### Issues
6+
7+
- It is now possible to skip the modification of dependency version numbers when running the Increment Version number workflow or the Create Release workflow
8+
9+
### New Versioning Strategy
10+
11+
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.
12+
113
## v6.2
214

315
### Issues

.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@v6.2
48+
uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@471b88b68863d06568efb833d74b02f0879b1c89
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@v6.2
59+
uses: microsoft/AL-Go/Actions/WorkflowInitialize@471b88b68863d06568efb833d74b02f0879b1c89
6060
with:
6161
shell: powershell
6262

6363
- name: Read settings
6464
id: ReadSettings
65-
uses: microsoft/AL-Go-Actions/ReadSettings@v6.2
65+
uses: microsoft/AL-Go/Actions/ReadSettings@471b88b68863d06568efb833d74b02f0879b1c89
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@v6.2
73+
uses: microsoft/AL-Go/Actions/ReadSecrets@471b88b68863d06568efb833d74b02f0879b1c89
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@v6.2
94+
uses: microsoft/AL-Go/Actions/DetermineProjectsToBuild@471b88b68863d06568efb833d74b02f0879b1c89
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@v6.2
107+
uses: microsoft/AL-Go/Actions/DetermineDeliveryTargets@471b88b68863d06568efb833d74b02f0879b1c89
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@v6.2
115+
uses: microsoft/AL-Go/Actions/ReadSecrets@471b88b68863d06568efb833d74b02f0879b1c89
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@v6.2
123+
uses: microsoft/AL-Go/Actions/DetermineDeliveryTargets@471b88b68863d06568efb833d74b02f0879b1c89
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@v6.2
133+
uses: microsoft/AL-Go/Actions/DetermineDeploymentEnvironments@471b88b68863d06568efb833d74b02f0879b1c89
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@v6.2
149+
uses: microsoft/AL-Go/Actions/ReadSettings@471b88b68863d06568efb833d74b02f0879b1c89
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@v6.2
155+
uses: microsoft/AL-Go/Actions/CheckForUpdates@471b88b68863d06568efb833d74b02f0879b1c89
156156
with:
157157
shell: powershell
158158
templateUrl: ${{ env.templateUrl }}
@@ -227,7 +227,7 @@ jobs:
227227
path: '.artifacts'
228228

229229
- name: Read settings
230-
uses: microsoft/AL-Go-Actions/ReadSettings@v6.2
230+
uses: microsoft/AL-Go/Actions/ReadSettings@471b88b68863d06568efb833d74b02f0879b1c89
231231
with:
232232
shell: powershell
233233

@@ -236,7 +236,7 @@ jobs:
236236
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0
237237

238238
- name: Build Reference Documentation
239-
uses: microsoft/AL-Go-Actions/BuildReferenceDocumentation@v6.2
239+
uses: microsoft/AL-Go/Actions/BuildReferenceDocumentation@471b88b68863d06568efb833d74b02f0879b1c89
240240
with:
241241
shell: powershell
242242
artifacts: '.artifacts'
@@ -273,7 +273,7 @@ jobs:
273273
path: '.artifacts'
274274

275275
- name: Read settings
276-
uses: microsoft/AL-Go-Actions/ReadSettings@v6.2
276+
uses: microsoft/AL-Go/Actions/ReadSettings@471b88b68863d06568efb833d74b02f0879b1c89
277277
with:
278278
shell: ${{ matrix.shell }}
279279
get: type,powerPlatformSolutionFolder
@@ -287,15 +287,15 @@ jobs:
287287
288288
- name: Read secrets
289289
id: ReadSecrets
290-
uses: microsoft/AL-Go-Actions/ReadSecrets@v6.2
290+
uses: microsoft/AL-Go/Actions/ReadSecrets@471b88b68863d06568efb833d74b02f0879b1c89
291291
with:
292292
shell: ${{ matrix.shell }}
293293
gitHubSecrets: ${{ toJson(secrets) }}
294294
getSecrets: '${{ steps.envName.outputs.envName }}-AuthContext,${{ steps.envName.outputs.envName }}_AuthContext,AuthContext'
295295

296296
- name: Deploy to Business Central
297297
id: Deploy
298-
uses: microsoft/AL-Go-Actions/Deploy@v6.2
298+
uses: microsoft/AL-Go/Actions/Deploy@471b88b68863d06568efb833d74b02f0879b1c89
299299
env:
300300
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}'
301301
with:
@@ -307,7 +307,7 @@ jobs:
307307

308308
- name: Deploy to Power Platform
309309
if: env.type == 'PTE' && env.powerPlatformSolutionFolder != ''
310-
uses: microsoft/AL-Go-Actions/DeployPowerPlatform@v6.2
310+
uses: microsoft/AL-Go/Actions/DeployPowerPlatform@471b88b68863d06568efb833d74b02f0879b1c89
311311
env:
312312
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}'
313313
with:
@@ -335,20 +335,20 @@ jobs:
335335
path: '.artifacts'
336336

337337
- name: Read settings
338-
uses: microsoft/AL-Go-Actions/ReadSettings@v6.2
338+
uses: microsoft/AL-Go/Actions/ReadSettings@471b88b68863d06568efb833d74b02f0879b1c89
339339
with:
340340
shell: powershell
341341

342342
- name: Read secrets
343343
id: ReadSecrets
344-
uses: microsoft/AL-Go-Actions/ReadSecrets@v6.2
344+
uses: microsoft/AL-Go/Actions/ReadSecrets@471b88b68863d06568efb833d74b02f0879b1c89
345345
with:
346346
shell: powershell
347347
gitHubSecrets: ${{ toJson(secrets) }}
348348
getSecrets: '${{ matrix.deliveryTarget }}Context'
349349

350350
- name: Deliver
351-
uses: microsoft/AL-Go-Actions/Deliver@v6.2
351+
uses: microsoft/AL-Go/Actions/Deliver@471b88b68863d06568efb833d74b02f0879b1c89
352352
env:
353353
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}'
354354
with:
@@ -368,7 +368,7 @@ jobs:
368368

369369
- name: Finalize the workflow
370370
id: PostProcess
371-
uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v6.2
371+
uses: microsoft/AL-Go/Actions/WorkflowPostProcess@471b88b68863d06568efb833d74b02f0879b1c89
372372
env:
373373
GITHUB_TOKEN: ${{ github.token }}
374374
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@v6.2
33+
uses: microsoft/AL-Go/Actions/WorkflowInitialize@471b88b68863d06568efb833d74b02f0879b1c89
3434
with:
3535
shell: powershell
3636

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

4242
- name: Determine Deployment Environments
4343
id: DetermineDeploymentEnvironments
44-
uses: microsoft/AL-Go-Actions/DetermineDeploymentEnvironments@v6.2
44+
uses: microsoft/AL-Go/Actions/DetermineDeploymentEnvironments@471b88b68863d06568efb833d74b02f0879b1c89
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@v6.2
57+
uses: microsoft/AL-Go/Actions/BuildReferenceDocumentation@471b88b68863d06568efb833d74b02f0879b1c89
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@v6.2
74+
uses: microsoft/AL-Go/Actions/WorkflowPostProcess@471b88b68863d06568efb833d74b02f0879b1c89
7575
env:
7676
GITHUB_TOKEN: ${{ github.token }}
7777
with:

.github/workflows/IncrementVersionNumber.yaml

+14-8
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,13 @@ on:
1010
required: false
1111
default: '*'
1212
versionNumber:
13-
description: Updated Version Number. Use Major.Minor for absolute change, use +Major.Minor for incremental change.
14-
required: true
13+
description: New Version Number in main branch. Use Major.Minor (optionally add .Build for versioningstrategy 3) for absolute change, or +1, +0.1 (or +0.0.1 for versioningstrategy 3) incremental change.
14+
required: false
15+
default: ''
16+
skipUpdatingDependencies:
17+
description: Skip updating dependency version numbers in all apps.
18+
type: boolean
19+
default: false
1520
directCommit:
1621
description: Direct Commit?
1722
type: boolean
@@ -41,7 +46,7 @@ jobs:
4146
runs-on: [ windows-latest ]
4247
steps:
4348
- name: Dump Workflow Information
44-
uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v6.2
49+
uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@471b88b68863d06568efb833d74b02f0879b1c89
4550
with:
4651
shell: powershell
4752

@@ -50,36 +55,37 @@ jobs:
5055

5156
- name: Initialize the workflow
5257
id: init
53-
uses: microsoft/AL-Go-Actions/WorkflowInitialize@v6.2
58+
uses: microsoft/AL-Go/Actions/WorkflowInitialize@471b88b68863d06568efb833d74b02f0879b1c89
5459
with:
5560
shell: powershell
5661

5762
- name: Read settings
58-
uses: microsoft/AL-Go-Actions/ReadSettings@v6.2
63+
uses: microsoft/AL-Go/Actions/ReadSettings@471b88b68863d06568efb833d74b02f0879b1c89
5964
with:
6065
shell: powershell
6166

6267
- name: Read secrets
6368
id: ReadSecrets
64-
uses: microsoft/AL-Go-Actions/ReadSecrets@v6.2
69+
uses: microsoft/AL-Go/Actions/ReadSecrets@471b88b68863d06568efb833d74b02f0879b1c89
6570
with:
6671
shell: powershell
6772
gitHubSecrets: ${{ toJson(secrets) }}
6873
getSecrets: 'TokenForPush'
6974
useGhTokenWorkflowForPush: '${{ github.event.inputs.useGhTokenWorkflow }}'
7075

7176
- name: Increment Version Number
72-
uses: microsoft/AL-Go-Actions/IncrementVersionNumber@v6.2
77+
uses: microsoft/AL-Go/Actions/IncrementVersionNumber@471b88b68863d06568efb833d74b02f0879b1c89
7378
with:
7479
shell: powershell
7580
token: ${{ steps.ReadSecrets.outputs.TokenForPush }}
7681
projects: ${{ github.event.inputs.projects }}
7782
versionNumber: ${{ github.event.inputs.versionNumber }}
83+
skipUpdatingDependencies: ${{ github.event.inputs.skipUpdatingDependencies }}
7884
directCommit: ${{ github.event.inputs.directCommit }}
7985

8086
- name: Finalize the workflow
8187
if: always()
82-
uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v6.2
88+
uses: microsoft/AL-Go/Actions/WorkflowPostProcess@471b88b68863d06568efb833d74b02f0879b1c89
8389
env:
8490
GITHUB_TOKEN: ${{ github.token }}
8591
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@v6.2
31+
- uses: microsoft/AL-Go/Actions/VerifyPRChanges@471b88b68863d06568efb833d74b02f0879b1c89
3232

3333
Initialization:
3434
needs: [ PregateCheck ]
@@ -43,7 +43,7 @@ jobs:
4343
telemetryScopeJson: ${{ steps.init.outputs.telemetryScopeJson }}
4444
steps:
4545
- name: Dump Workflow Information
46-
uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v6.2
46+
uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@471b88b68863d06568efb833d74b02f0879b1c89
4747
with:
4848
shell: powershell
4949

@@ -55,13 +55,13 @@ jobs:
5555

5656
- name: Initialize the workflow
5757
id: init
58-
uses: microsoft/AL-Go-Actions/WorkflowInitialize@v6.2
58+
uses: microsoft/AL-Go/Actions/WorkflowInitialize@471b88b68863d06568efb833d74b02f0879b1c89
5959
with:
6060
shell: powershell
6161

6262
- name: Read settings
6363
id: ReadSettings
64-
uses: microsoft/AL-Go-Actions/ReadSettings@v6.2
64+
uses: microsoft/AL-Go/Actions/ReadSettings@471b88b68863d06568efb833d74b02f0879b1c89
6565
with:
6666
shell: powershell
6767

@@ -72,7 +72,7 @@ jobs:
7272
7373
- name: Determine Projects To Build
7474
id: determineProjectsToBuild
75-
uses: microsoft/AL-Go-Actions/DetermineProjectsToBuild@v6.2
75+
uses: microsoft/AL-Go/Actions/DetermineProjectsToBuild@471b88b68863d06568efb833d74b02f0879b1c89
7676
with:
7777
shell: powershell
7878
maxBuildDepth: ${{ env.workflowDepth }}
@@ -131,15 +131,15 @@ jobs:
131131
steps:
132132
- name: Pull Request Status Check
133133
id: PullRequestStatusCheck
134-
uses: microsoft/AL-Go-Actions/PullRequestStatusCheck@v6.2
134+
uses: microsoft/AL-Go/Actions/PullRequestStatusCheck@471b88b68863d06568efb833d74b02f0879b1c89
135135
env:
136136
GITHUB_TOKEN: ${{ github.token }}
137137
with:
138138
shell: powershell
139139

140140
- name: Finalize the workflow
141141
id: PostProcess
142-
uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v6.2
142+
uses: microsoft/AL-Go/Actions/WorkflowPostProcess@471b88b68863d06568efb833d74b02f0879b1c89
143143
if: success() || failure()
144144
env:
145145
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@v6.2
33+
uses: microsoft/AL-Go/Actions/Troubleshooting@471b88b68863d06568efb833d74b02f0879b1c89
3434
with:
3535
shell: powershell
3636
gitHubSecrets: ${{ toJson(secrets) }}

0 commit comments

Comments
 (0)