Skip to content

Commit 2344e48

Browse files
[main@f1298c6] Update AL-Go System Files from microsoft/AL-Go-AppSource@preview - 1a78239 (#21)
## v7.2 ### Removed functionality As stated in [AL-Go Deprecations](https://aka.ms/algodeprecations#cleanModePreprocessorSymbols), setting `cleanModePreprocessorSymbols` is no longer supported and will be ignored by AL-Go for GitHub. ### Security - Add top-level permissions for _Increment Version Number_ workflow ### Issues - Issue 1697 Error in CheckForUpdates: "Internet Explorer engine is not available" when using self-hosted runners - Issue 1685 HttpError: Resource not accessible by integration - Issue 1757 Error when signing apps with key vault signing ### Workflow input validation Some workflow inputs are now validated early in order to avoid workflows to make modifications like creating a release, when we already should know that an error will occur later. ### Test settings against a JSON schema AL-Go for GitHub settings now has a schema. The following line is added at the beginning to any AL-Go settings files to utilize the schema: ``` "$schema": "https://raw.githubusercontent.com/microsoft/AL-Go-Actions/<version>/Actions/settings.schema.json" ``` ### Failing pull requests if new warnings are added By setting failOn to 'newWarning', pull requests will fail if new warnings are introduced. This feature compares the warnings in the pull request build against those in the latest successful CI/CD build and fails if new warnings are detected. ### AL-Go Telemetry Now AL-Go telemetry also logs `ActionDuration` which makes it possible to track the duration of the different steps in the AL-Go workflows (e.g. RunPipeline or Sign) Co-authored-by: aholstrup1 <aholstrup1@users.noreply.github.com>
1 parent f1298c6 commit 2344e48

20 files changed

Lines changed: 225 additions & 234 deletions

.github/AL-Go-Settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@
2626
"Account": "BCCodeSigningTest",
2727
"CertificateProfile": "BCCodeSigningPublic"
2828
},
29-
"templateSha": "52f5ff81bf4c58846d15cb593589596bb573b504"
29+
"templateSha": "1a78239c6dd89870bae4629d7d80406eaf51fc67"
3030
}

.github/RELEASENOTES.copy.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,39 @@
1+
## v7.2
2+
3+
### Removed functionality
4+
5+
As stated in [AL-Go Deprecations](https://aka.ms/algodeprecations#cleanModePreprocessorSymbols), setting `cleanModePreprocessorSymbols` is no longer supported and will be ignored by AL-Go for GitHub.
6+
7+
### Security
8+
9+
- Add top-level permissions for _Increment Version Number_ workflow
10+
11+
### Issues
12+
13+
- Issue 1697 Error in CheckForUpdates: "Internet Explorer engine is not available" when using self-hosted runners
14+
- Issue 1685 HttpError: Resource not accessible by integration
15+
- Issue 1757 Error when signing apps with key vault signing
16+
17+
### Workflow input validation
18+
19+
Some workflow inputs are now validated early in order to avoid workflows to make modifications like creating a release, when we already should know that an error will occur later.
20+
21+
### Test settings against a JSON schema
22+
23+
AL-Go for GitHub settings now has a schema. The following line is added at the beginning to any AL-Go settings files to utilize the schema:
24+
25+
```
26+
"$schema": "https://raw.githubusercontent.com/microsoft/AL-Go-Actions/<version>/Actions/settings.schema.json"
27+
```
28+
29+
### Failing pull requests if new warnings are added
30+
31+
By setting failOn to 'newWarning', pull requests will fail if new warnings are introduced. This feature compares the warnings in the pull request build against those in the latest successful CI/CD build and fails if new warnings are detected.
32+
33+
### AL-Go Telemetry
34+
35+
Now AL-Go telemetry also logs `ActionDuration` which makes it possible to track the duration of the different steps in the AL-Go workflows (e.g. RunPipeline or Sign)
36+
137
## v7.1
238

339
### Issues

.github/workflows/CICD.yaml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
powerPlatformSolutionFolder: ${{ steps.DeterminePowerPlatformSolutionFolder.outputs.powerPlatformSolutionFolder }}
4949
steps:
5050
- name: Dump Workflow Information
51-
uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v7.1
51+
uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v7.2
5252
with:
5353
shell: pwsh
5454

@@ -59,21 +59,21 @@ jobs:
5959

6060
- name: Initialize the workflow
6161
id: init
62-
uses: microsoft/AL-Go-Actions/WorkflowInitialize@v7.1
62+
uses: microsoft/AL-Go-Actions/WorkflowInitialize@v7.2
6363
with:
6464
shell: pwsh
6565

6666
- name: Read settings
6767
id: ReadSettings
68-
uses: microsoft/AL-Go-Actions/ReadSettings@v7.1
68+
uses: microsoft/AL-Go-Actions/ReadSettings@v7.2
6969
with:
7070
shell: pwsh
7171
get: type,powerPlatformSolutionFolder,useGitSubmodules
7272

7373
- name: Read submodules token
7474
id: ReadSubmodulesToken
7575
if: env.useGitSubmodules != 'false' && env.useGitSubmodules != ''
76-
uses: microsoft/AL-Go-Actions/ReadSecrets@v7.1
76+
uses: microsoft/AL-Go-Actions/ReadSecrets@v7.2
7777
with:
7878
shell: pwsh
7979
gitHubSecrets: ${{ toJson(secrets) }}
@@ -94,7 +94,7 @@ jobs:
9494
9595
- name: Determine Projects To Build
9696
id: determineProjectsToBuild
97-
uses: microsoft/AL-Go-Actions/DetermineProjectsToBuild@v7.1
97+
uses: microsoft/AL-Go-Actions/DetermineProjectsToBuild@v7.2
9898
with:
9999
shell: pwsh
100100
maxBuildDepth: ${{ env.workflowDepth }}
@@ -107,23 +107,23 @@ jobs:
107107
108108
- name: Determine Delivery Target Secrets
109109
id: DetermineDeliveryTargetSecrets
110-
uses: microsoft/AL-Go-Actions/DetermineDeliveryTargets@v7.1
110+
uses: microsoft/AL-Go-Actions/DetermineDeliveryTargets@v7.2
111111
with:
112112
shell: pwsh
113113
projectsJson: '${{ steps.determineProjectsToBuild.outputs.ProjectsJson }}'
114114
checkContextSecrets: 'false'
115115

116116
- name: Read secrets
117117
id: ReadSecrets
118-
uses: microsoft/AL-Go-Actions/ReadSecrets@v7.1
118+
uses: microsoft/AL-Go-Actions/ReadSecrets@v7.2
119119
with:
120120
shell: pwsh
121121
gitHubSecrets: ${{ toJson(secrets) }}
122122
getSecrets: ${{ steps.DetermineDeliveryTargetSecrets.outputs.ContextSecrets }}
123123

124124
- name: Determine Delivery Targets
125125
id: DetermineDeliveryTargets
126-
uses: microsoft/AL-Go-Actions/DetermineDeliveryTargets@v7.1
126+
uses: microsoft/AL-Go-Actions/DetermineDeliveryTargets@v7.2
127127
env:
128128
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}'
129129
with:
@@ -133,7 +133,7 @@ jobs:
133133

134134
- name: Determine Deployment Environments
135135
id: DetermineDeploymentEnvironments
136-
uses: microsoft/AL-Go-Actions/DetermineDeploymentEnvironments@v7.1
136+
uses: microsoft/AL-Go-Actions/DetermineDeploymentEnvironments@v7.2
137137
env:
138138
GITHUB_TOKEN: ${{ github.token }}
139139
with:
@@ -149,21 +149,21 @@ jobs:
149149
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
150150

151151
- name: Read settings
152-
uses: microsoft/AL-Go-Actions/ReadSettings@v7.1
152+
uses: microsoft/AL-Go-Actions/ReadSettings@v7.2
153153
with:
154154
shell: pwsh
155155
get: templateUrl
156156

157157
- name: Read secrets
158158
id: ReadSecrets
159-
uses: microsoft/AL-Go-Actions/ReadSecrets@v7.1
159+
uses: microsoft/AL-Go-Actions/ReadSecrets@v7.2
160160
with:
161161
shell: pwsh
162162
gitHubSecrets: ${{ toJson(secrets) }}
163163
getSecrets: 'ghTokenWorkflow'
164164

165165
- name: Check for updates to AL-Go system files
166-
uses: microsoft/AL-Go-Actions/CheckForUpdates@v7.1
166+
uses: microsoft/AL-Go-Actions/CheckForUpdates@v7.2
167167
env:
168168
GITHUB_TOKEN: ${{ github.token }}
169169
with:
@@ -243,7 +243,7 @@ jobs:
243243
path: '.artifacts'
244244

245245
- name: Read settings
246-
uses: microsoft/AL-Go-Actions/ReadSettings@v7.1
246+
uses: microsoft/AL-Go-Actions/ReadSettings@v7.2
247247
with:
248248
shell: pwsh
249249

@@ -252,7 +252,7 @@ jobs:
252252
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0
253253

254254
- name: Build Reference Documentation
255-
uses: microsoft/AL-Go-Actions/BuildReferenceDocumentation@v7.1
255+
uses: microsoft/AL-Go-Actions/BuildReferenceDocumentation@v7.2
256256
with:
257257
shell: pwsh
258258
artifacts: '.artifacts'
@@ -289,7 +289,7 @@ jobs:
289289
path: '.artifacts'
290290

291291
- name: Read settings
292-
uses: microsoft/AL-Go-Actions/ReadSettings@v7.1
292+
uses: microsoft/AL-Go-Actions/ReadSettings@v7.2
293293
with:
294294
shell: ${{ matrix.shell }}
295295
get: type,powerPlatformSolutionFolder
@@ -303,15 +303,15 @@ jobs:
303303
304304
- name: Read secrets
305305
id: ReadSecrets
306-
uses: microsoft/AL-Go-Actions/ReadSecrets@v7.1
306+
uses: microsoft/AL-Go-Actions/ReadSecrets@v7.2
307307
with:
308308
shell: ${{ matrix.shell }}
309309
gitHubSecrets: ${{ toJson(secrets) }}
310310
getSecrets: '${{ steps.envName.outputs.envName }}-AuthContext,${{ steps.envName.outputs.envName }}_AuthContext,AuthContext'
311311

312312
- name: Deploy to Business Central
313313
id: Deploy
314-
uses: microsoft/AL-Go-Actions/Deploy@v7.1
314+
uses: microsoft/AL-Go-Actions/Deploy@v7.2
315315
env:
316316
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}'
317317
with:
@@ -323,7 +323,7 @@ jobs:
323323

324324
- name: Deploy to Power Platform
325325
if: env.type == 'PTE' && env.powerPlatformSolutionFolder != ''
326-
uses: microsoft/AL-Go-Actions/DeployPowerPlatform@v7.1
326+
uses: microsoft/AL-Go-Actions/DeployPowerPlatform@v7.2
327327
env:
328328
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}'
329329
with:
@@ -351,20 +351,20 @@ jobs:
351351
path: '.artifacts'
352352

353353
- name: Read settings
354-
uses: microsoft/AL-Go-Actions/ReadSettings@v7.1
354+
uses: microsoft/AL-Go-Actions/ReadSettings@v7.2
355355
with:
356356
shell: pwsh
357357

358358
- name: Read secrets
359359
id: ReadSecrets
360-
uses: microsoft/AL-Go-Actions/ReadSecrets@v7.1
360+
uses: microsoft/AL-Go-Actions/ReadSecrets@v7.2
361361
with:
362362
shell: pwsh
363363
gitHubSecrets: ${{ toJson(secrets) }}
364364
getSecrets: '${{ matrix.deliveryTarget }}Context'
365365

366366
- name: Deliver
367-
uses: microsoft/AL-Go-Actions/Deliver@v7.1
367+
uses: microsoft/AL-Go-Actions/Deliver@v7.2
368368
env:
369369
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}'
370370
with:
@@ -384,7 +384,7 @@ jobs:
384384

385385
- name: Finalize the workflow
386386
id: PostProcess
387-
uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v7.1
387+
uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v7.2
388388
env:
389389
GITHUB_TOKEN: ${{ github.token }}
390390
with:

.github/workflows/CreateOnlineDevelopmentEnvironment.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
telemetryScopeJson: ${{ steps.init.outputs.telemetryScopeJson }}
5151
steps:
5252
- name: Dump Workflow Information
53-
uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v7.1
53+
uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v7.2
5454
with:
5555
shell: pwsh
5656

@@ -59,19 +59,19 @@ jobs:
5959

6060
- name: Initialize the workflow
6161
id: init
62-
uses: microsoft/AL-Go-Actions/WorkflowInitialize@v7.1
62+
uses: microsoft/AL-Go-Actions/WorkflowInitialize@v7.2
6363
with:
6464
shell: pwsh
6565

6666
- name: Read settings
6767
id: ReadSettings
68-
uses: microsoft/AL-Go-Actions/ReadSettings@v7.1
68+
uses: microsoft/AL-Go-Actions/ReadSettings@v7.2
6969
with:
7070
shell: pwsh
7171

7272
- name: Read secrets
7373
id: ReadSecrets
74-
uses: microsoft/AL-Go-Actions/ReadSecrets@v7.1
74+
uses: microsoft/AL-Go-Actions/ReadSecrets@v7.2
7575
with:
7676
shell: pwsh
7777
gitHubSecrets: ${{ toJson(secrets) }}
@@ -90,7 +90,7 @@ jobs:
9090
Write-Host "AdminCenterApiCredentials not provided, initiating Device Code flow"
9191
$ALGoHelperPath = "$([System.IO.Path]::GetTempFileName()).ps1"
9292
$webClient = New-Object System.Net.WebClient
93-
$webClient.DownloadFile('https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v7.1/AL-Go-Helper.ps1', $ALGoHelperPath)
93+
$webClient.DownloadFile('https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v7.2/AL-Go-Helper.ps1', $ALGoHelperPath)
9494
. $ALGoHelperPath
9595
DownloadAndImportBcContainerHelper
9696
$authContext = New-BcAuthContext -includeDeviceLogin -deviceLoginTimeout ([TimeSpan]::FromSeconds(0))
@@ -112,13 +112,13 @@ jobs:
112112
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
113113

114114
- name: Read settings
115-
uses: microsoft/AL-Go-Actions/ReadSettings@v7.1
115+
uses: microsoft/AL-Go-Actions/ReadSettings@v7.2
116116
with:
117117
shell: pwsh
118118

119119
- name: Read secrets
120120
id: ReadSecrets
121-
uses: microsoft/AL-Go-Actions/ReadSecrets@v7.1
121+
uses: microsoft/AL-Go-Actions/ReadSecrets@v7.2
122122
with:
123123
shell: pwsh
124124
gitHubSecrets: ${{ toJson(secrets) }}
@@ -137,7 +137,7 @@ jobs:
137137
Add-Content -Encoding UTF8 -Path $env:GITHUB_OUTPUT -value "adminCenterApiCredentials=$adminCenterApiCredentials"
138138
139139
- name: Create Development Environment
140-
uses: microsoft/AL-Go-Actions/CreateDevelopmentEnvironment@v7.1
140+
uses: microsoft/AL-Go-Actions/CreateDevelopmentEnvironment@v7.2
141141
with:
142142
shell: pwsh
143143
token: ${{ steps.ReadSecrets.outputs.TokenForPush }}
@@ -149,7 +149,7 @@ jobs:
149149

150150
- name: Finalize the workflow
151151
if: always()
152-
uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v7.1
152+
uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v7.2
153153
env:
154154
GITHUB_TOKEN: ${{ github.token }}
155155
with:

0 commit comments

Comments
 (0)