Skip to content

Commit 901d91a

Browse files
Merge pull request #78 from printvis/update-al-go-system-files/main/260227091808
[main@95ff238] Update AL-Go System Files from microsoft/AL-Go-PTE@main - 63fc1e7
2 parents 95ff238 + 6d42d1e commit 901d91a

25 files changed

Lines changed: 185 additions & 165 deletions

.AL-Go/cloudDevEnv.ps1

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -141,12 +141,12 @@ Write-Host -ForegroundColor Yellow @'
141141

142142
$tmpFolder = Join-Path ([System.IO.Path]::GetTempPath()) "$([Guid]::NewGuid().ToString())"
143143
New-Item -Path $tmpFolder -ItemType Directory -Force | Out-Null
144-
$GitHubHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.2/Github-Helper.psm1' -folder $tmpFolder -notifyAuthenticatedAttempt
145-
$ReadSettingsModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.2/.Modules/ReadSettings.psm1' -folder $tmpFolder
146-
$debugLoggingModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.2/.Modules/DebugLogHelper.psm1' -folder $tmpFolder
147-
$ALGoHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.2/AL-Go-Helper.ps1' -folder $tmpFolder
148-
DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.2/.Modules/settings.schema.json' -folder $tmpFolder | Out-Null
149-
DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.2/Environment.Packages.proj' -folder $tmpFolder | Out-Null
144+
$GitHubHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.3/Github-Helper.psm1' -folder $tmpFolder -notifyAuthenticatedAttempt
145+
$ReadSettingsModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.3/.Modules/ReadSettings.psm1' -folder $tmpFolder
146+
$debugLoggingModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.3/.Modules/DebugLogHelper.psm1' -folder $tmpFolder
147+
$ALGoHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.3/AL-Go-Helper.ps1' -folder $tmpFolder
148+
DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.3/.Modules/settings.schema.json' -folder $tmpFolder | Out-Null
149+
DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.3/Environment.Packages.proj' -folder $tmpFolder | Out-Null
150150

151151
Import-Module $GitHubHelperPath
152152
Import-Module $ReadSettingsModule

.AL-Go/localDevEnv.ps1

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -154,12 +154,12 @@ Write-Host -ForegroundColor Yellow @'
154154

155155
$tmpFolder = Join-Path ([System.IO.Path]::GetTempPath()) "$([Guid]::NewGuid().ToString())"
156156
New-Item -Path $tmpFolder -ItemType Directory -Force | Out-Null
157-
$GitHubHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.2/Github-Helper.psm1' -folder $tmpFolder -notifyAuthenticatedAttempt
158-
$ReadSettingsModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.2/.Modules/ReadSettings.psm1' -folder $tmpFolder
159-
$debugLoggingModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.2/.Modules/DebugLogHelper.psm1' -folder $tmpFolder
160-
$ALGoHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.2/AL-Go-Helper.ps1' -folder $tmpFolder
161-
DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.2/.Modules/settings.schema.json' -folder $tmpFolder | Out-Null
162-
DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.2/Environment.Packages.proj' -folder $tmpFolder | Out-Null
157+
$GitHubHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.3/Github-Helper.psm1' -folder $tmpFolder -notifyAuthenticatedAttempt
158+
$ReadSettingsModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.3/.Modules/ReadSettings.psm1' -folder $tmpFolder
159+
$debugLoggingModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.3/.Modules/DebugLogHelper.psm1' -folder $tmpFolder
160+
$ALGoHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.3/AL-Go-Helper.ps1' -folder $tmpFolder
161+
DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.3/.Modules/settings.schema.json' -folder $tmpFolder | Out-Null
162+
DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.3/Environment.Packages.proj' -folder $tmpFolder | Out-Null
163163

164164
Import-Module $GitHubHelperPath
165165
Import-Module $ReadSettingsModule

.AL-Go/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.2/.Modules/settings.schema.json",
2+
"$schema": "https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.3/.Modules/settings.schema.json",
33
"country": "us",
44
"appFolders": [],
55
"testFolders": [],

.github/AL-Go-Settings.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"$schema": "https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.2/.Modules/settings.schema.json",
2+
"$schema": "https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.3/.Modules/settings.schema.json",
33
"type": "PTE",
44
"templateUrl": "https://github.com/microsoft/AL-Go-PTE@main",
5-
"templateSha": "62683d6c71618bc3249ff55a950fd8ab3a380925",
5+
"templateSha": "63fc1e7b31ee4a59816fd92aff26bdd3924de4ec",
66
"installApps": [
77
"https://printvis.blob.core.windows.net/releases/CloudApps/NovaVision%20Software%20AS_PrintVis_24.4.1.0.app?sv=2023-01-03&st=2024-09-11T08%3A53%3A22Z&se=2026-07-12T08%3A53%3A00Z&sr=b&sp=r&sig=4bLYDcdOlC1Ymx8q%2Fa2hM5ci%2B%2By2TePO5eEQ%2F4q5KjI%3D"
88
],

.github/RELEASENOTES.copy.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
## v8.3
2+
3+
### Issues
4+
5+
- Issue 2107 Publish a specific build mode to an environment
6+
- Issue 1915 CICD fails on releases/26.x branch - '26.x' cannot be recognized as a semantic version string
7+
8+
### The default pull request trigger is changing
9+
10+
AL-Go for GitHub is transitioning from the pull_request_target trigger to the more secure pull_request trigger. This is a step we are taking to make AL-Go for GitHub more secure by default. If you are used to working from branches within the repository you may not notice any difference. If you get pull requests from forks, those pull requests will no longer be able to access secrets. If that is blocking for your repository, you will need to update your settings to use the pull_request_target trigger.
11+
12+
**How do I revert back to pull_request_target?**
13+
14+
Add the following setting to one of your settings files and run the Update AL-Go System Files workflow:
15+
16+
```json
17+
"pullRequestTrigger": "pull_request_target"
18+
```
19+
120
## v8.2
221

322
### Issues

.github/Test Current.settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.2/.Modules/settings.schema.json",
2+
"$schema": "https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.3/.Modules/settings.schema.json",
33
"artifact": "////latest",
44
"cacheImageName": "",
55
"versioningStrategy": 15

.github/Test Next Major.settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.2/.Modules/settings.schema.json",
2+
"$schema": "https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.3/.Modules/settings.schema.json",
33
"artifact": "////nextmajor",
44
"cacheImageName": "",
55
"versioningStrategy": 15

.github/Test Next Minor.settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.2/.Modules/settings.schema.json",
2+
"$schema": "https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.3/.Modules/settings.schema.json",
33
"artifact": "////nextminor",
44
"cacheImageName": "",
55
"versioningStrategy": 15

.github/workflows/AddExistingAppOrTestApp.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
runs-on: [ windows-latest ]
4242
steps:
4343
- name: Dump Workflow Information
44-
uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v8.2
44+
uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v8.3
4545
with:
4646
shell: powershell
4747

@@ -50,26 +50,26 @@ jobs:
5050

5151
- name: Initialize the workflow
5252
id: init
53-
uses: microsoft/AL-Go-Actions/WorkflowInitialize@v8.2
53+
uses: microsoft/AL-Go-Actions/WorkflowInitialize@v8.3
5454
with:
5555
shell: powershell
5656

5757
- name: Read settings
58-
uses: microsoft/AL-Go-Actions/ReadSettings@v8.2
58+
uses: microsoft/AL-Go-Actions/ReadSettings@v8.3
5959
with:
6060
shell: powershell
6161

6262
- name: Read secrets
6363
id: ReadSecrets
64-
uses: microsoft/AL-Go-Actions/ReadSecrets@v8.2
64+
uses: microsoft/AL-Go-Actions/ReadSecrets@v8.3
6565
with:
6666
shell: powershell
6767
gitHubSecrets: ${{ toJson(secrets) }}
6868
getSecrets: 'TokenForPush'
6969
useGhTokenWorkflowForPush: '${{ github.event.inputs.useGhTokenWorkflow }}'
7070

7171
- name: Add existing app
72-
uses: microsoft/AL-Go-Actions/AddExistingApp@v8.2
72+
uses: microsoft/AL-Go-Actions/AddExistingApp@v8.3
7373
with:
7474
shell: powershell
7575
token: ${{ steps.ReadSecrets.outputs.TokenForPush }}
@@ -79,7 +79,7 @@ jobs:
7979

8080
- name: Finalize the workflow
8181
if: always()
82-
uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v8.2
82+
uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v8.3
8383
env:
8484
GITHUB_TOKEN: ${{ github.token }}
8585
with:

.github/workflows/CICD.yaml

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
trackALAlertsInGitHub: ${{ steps.SetALCodeAnalysisVar.outputs.trackALAlertsInGitHub }}
5252
steps:
5353
- name: Dump Workflow Information
54-
uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v8.2
54+
uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v8.3
5555
with:
5656
shell: powershell
5757

@@ -62,13 +62,13 @@ jobs:
6262

6363
- name: Initialize the workflow
6464
id: init
65-
uses: microsoft/AL-Go-Actions/WorkflowInitialize@v8.2
65+
uses: microsoft/AL-Go-Actions/WorkflowInitialize@v8.3
6666
with:
6767
shell: powershell
6868

6969
- name: Read settings
7070
id: ReadSettings
71-
uses: microsoft/AL-Go-Actions/ReadSettings@v8.2
71+
uses: microsoft/AL-Go-Actions/ReadSettings@v8.3
7272
with:
7373
shell: powershell
7474
get: type,powerPlatformSolutionFolder,useGitSubmodules,trackALAlertsInGitHub
@@ -82,7 +82,7 @@ jobs:
8282
- name: Read submodules token
8383
id: ReadSubmodulesToken
8484
if: env.useGitSubmodules != 'false' && env.useGitSubmodules != ''
85-
uses: microsoft/AL-Go-Actions/ReadSecrets@v8.2
85+
uses: microsoft/AL-Go-Actions/ReadSecrets@v8.3
8686
with:
8787
shell: powershell
8888
gitHubSecrets: ${{ toJson(secrets) }}
@@ -103,7 +103,7 @@ jobs:
103103
104104
- name: Determine Projects To Build
105105
id: determineProjectsToBuild
106-
uses: microsoft/AL-Go-Actions/DetermineProjectsToBuild@v8.2
106+
uses: microsoft/AL-Go-Actions/DetermineProjectsToBuild@v8.3
107107
with:
108108
shell: powershell
109109
maxBuildDepth: ${{ env.workflowDepth }}
@@ -116,23 +116,23 @@ jobs:
116116
117117
- name: Determine Delivery Target Secrets
118118
id: DetermineDeliveryTargetSecrets
119-
uses: microsoft/AL-Go-Actions/DetermineDeliveryTargets@v8.2
119+
uses: microsoft/AL-Go-Actions/DetermineDeliveryTargets@v8.3
120120
with:
121121
shell: powershell
122122
projectsJson: '${{ steps.determineProjectsToBuild.outputs.ProjectsJson }}'
123123
checkContextSecrets: 'false'
124124

125125
- name: Read secrets
126126
id: ReadSecrets
127-
uses: microsoft/AL-Go-Actions/ReadSecrets@v8.2
127+
uses: microsoft/AL-Go-Actions/ReadSecrets@v8.3
128128
with:
129129
shell: powershell
130130
gitHubSecrets: ${{ toJson(secrets) }}
131131
getSecrets: ${{ steps.DetermineDeliveryTargetSecrets.outputs.ContextSecrets }}
132132

133133
- name: Determine Delivery Targets
134134
id: DetermineDeliveryTargets
135-
uses: microsoft/AL-Go-Actions/DetermineDeliveryTargets@v8.2
135+
uses: microsoft/AL-Go-Actions/DetermineDeliveryTargets@v8.3
136136
env:
137137
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}'
138138
with:
@@ -142,7 +142,7 @@ jobs:
142142

143143
- name: Determine Deployment Environments
144144
id: DetermineDeploymentEnvironments
145-
uses: microsoft/AL-Go-Actions/DetermineDeploymentEnvironments@v8.2
145+
uses: microsoft/AL-Go-Actions/DetermineDeploymentEnvironments@v8.3
146146
env:
147147
GITHUB_TOKEN: ${{ github.token }}
148148
with:
@@ -158,21 +158,21 @@ jobs:
158158
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
159159

160160
- name: Read settings
161-
uses: microsoft/AL-Go-Actions/ReadSettings@v8.2
161+
uses: microsoft/AL-Go-Actions/ReadSettings@v8.3
162162
with:
163163
shell: powershell
164164
get: templateUrl
165165

166166
- name: Read secrets
167167
id: ReadSecrets
168-
uses: microsoft/AL-Go-Actions/ReadSecrets@v8.2
168+
uses: microsoft/AL-Go-Actions/ReadSecrets@v8.3
169169
with:
170170
shell: powershell
171171
gitHubSecrets: ${{ toJson(secrets) }}
172172
getSecrets: 'ghTokenWorkflow'
173173

174174
- name: Check for updates to AL-Go system files
175-
uses: microsoft/AL-Go-Actions/CheckForUpdates@v8.2
175+
uses: microsoft/AL-Go-Actions/CheckForUpdates@v8.3
176176
env:
177177
GITHUB_TOKEN: ${{ github.token }}
178178
with:
@@ -226,7 +226,7 @@ jobs:
226226
- name: Process AL Code Analysis Logs
227227
id: ProcessALCodeAnalysisLogs
228228
if: (success() || failure())
229-
uses: microsoft/AL-Go-Actions/ProcessALCodeAnalysisLogs@v8.2
229+
uses: microsoft/AL-Go-Actions/ProcessALCodeAnalysisLogs@v8.3
230230
with:
231231
shell: powershell
232232

@@ -260,13 +260,13 @@ jobs:
260260
path: '.artifacts'
261261

262262
- name: Read settings
263-
uses: microsoft/AL-Go-Actions/ReadSettings@v8.2
263+
uses: microsoft/AL-Go-Actions/ReadSettings@v8.3
264264
with:
265265
shell: powershell
266266

267267
- name: Determine ArtifactUrl
268268
id: determineArtifactUrl
269-
uses: microsoft/AL-Go-Actions/DetermineArtifactUrl@v8.2
269+
uses: microsoft/AL-Go-Actions/DetermineArtifactUrl@v8.3
270270
with:
271271
shell: powershell
272272

@@ -275,7 +275,7 @@ jobs:
275275
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0
276276

277277
- name: Build Reference Documentation
278-
uses: microsoft/AL-Go-Actions/BuildReferenceDocumentation@v8.2
278+
uses: microsoft/AL-Go-Actions/BuildReferenceDocumentation@v8.3
279279
with:
280280
shell: powershell
281281
artifacts: '.artifacts'
@@ -316,7 +316,7 @@ jobs:
316316
path: '.artifacts'
317317

318318
- name: Read settings
319-
uses: microsoft/AL-Go-Actions/ReadSettings@v8.2
319+
uses: microsoft/AL-Go-Actions/ReadSettings@v8.3
320320
with:
321321
shell: ${{ matrix.shell }}
322322
get: type,powerPlatformSolutionFolder
@@ -330,15 +330,15 @@ jobs:
330330
331331
- name: Read secrets
332332
id: ReadSecrets
333-
uses: microsoft/AL-Go-Actions/ReadSecrets@v8.2
333+
uses: microsoft/AL-Go-Actions/ReadSecrets@v8.3
334334
with:
335335
shell: ${{ matrix.shell }}
336336
gitHubSecrets: ${{ toJson(secrets) }}
337337
getSecrets: '${{ steps.envName.outputs.envName }}-AuthContext,${{ steps.envName.outputs.envName }}_AuthContext,AuthContext'
338338

339339
- name: Deploy to Business Central
340340
id: Deploy
341-
uses: microsoft/AL-Go-Actions/Deploy@v8.2
341+
uses: microsoft/AL-Go-Actions/Deploy@v8.3
342342
env:
343343
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}'
344344
with:
@@ -350,7 +350,7 @@ jobs:
350350

351351
- name: Deploy to Power Platform
352352
if: env.type == 'PTE' && env.powerPlatformSolutionFolder != ''
353-
uses: microsoft/AL-Go-Actions/DeployPowerPlatform@v8.2
353+
uses: microsoft/AL-Go-Actions/DeployPowerPlatform@v8.3
354354
env:
355355
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}'
356356
with:
@@ -378,20 +378,20 @@ jobs:
378378
path: '.artifacts'
379379

380380
- name: Read settings
381-
uses: microsoft/AL-Go-Actions/ReadSettings@v8.2
381+
uses: microsoft/AL-Go-Actions/ReadSettings@v8.3
382382
with:
383383
shell: powershell
384384

385385
- name: Read secrets
386386
id: ReadSecrets
387-
uses: microsoft/AL-Go-Actions/ReadSecrets@v8.2
387+
uses: microsoft/AL-Go-Actions/ReadSecrets@v8.3
388388
with:
389389
shell: powershell
390390
gitHubSecrets: ${{ toJson(secrets) }}
391391
getSecrets: '${{ matrix.deliveryTarget }}Context'
392392

393393
- name: Deliver
394-
uses: microsoft/AL-Go-Actions/Deliver@v8.2
394+
uses: microsoft/AL-Go-Actions/Deliver@v8.3
395395
env:
396396
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}'
397397
with:
@@ -411,7 +411,7 @@ jobs:
411411

412412
- name: Finalize the workflow
413413
id: PostProcess
414-
uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v8.2
414+
uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v8.3
415415
env:
416416
GITHUB_TOKEN: ${{ github.token }}
417417
with:

0 commit comments

Comments
 (0)