Skip to content

Commit d1b8ffe

Browse files
committed
[main] Update AL-Go System Files from microsoft/AL-Go-PTE@main - aa12d5ac4df1db8e8849ac68aa1000260fa3b7f4
1 parent 7e844b8 commit d1b8ffe

21 files changed

+216
-199
lines changed

.AL-Go/cloudDevEnv.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ Write-Host -ForegroundColor Yellow @'
4242

4343
$tmpFolder = Join-Path ([System.IO.Path]::GetTempPath()) "$([Guid]::NewGuid().ToString())"
4444
New-Item -Path $tmpFolder -ItemType Directory -Force | Out-Null
45-
$GitHubHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v5.3/Github-Helper.psm1' -folder $tmpFolder
46-
$ALGoHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v5.3/AL-Go-Helper.ps1' -folder $tmpFolder
47-
DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v5.3/Packages.json' -folder $tmpFolder | Out-Null
45+
$GitHubHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v6.0/Github-Helper.psm1' -folder $tmpFolder
46+
$ALGoHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v6.0/AL-Go-Helper.ps1' -folder $tmpFolder
47+
DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v6.0/Packages.json' -folder $tmpFolder | Out-Null
4848

4949
Import-Module $GitHubHelperPath
5050
. $ALGoHelperPath -local

.AL-Go/localDevEnv.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ Write-Host -ForegroundColor Yellow @'
4646

4747
$tmpFolder = Join-Path ([System.IO.Path]::GetTempPath()) "$([Guid]::NewGuid().ToString())"
4848
New-Item -Path $tmpFolder -ItemType Directory -Force | Out-Null
49-
$GitHubHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v5.3/Github-Helper.psm1' -folder $tmpFolder
50-
$ALGoHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v5.3/AL-Go-Helper.ps1' -folder $tmpFolder
51-
DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v5.3/Packages.json' -folder $tmpFolder | Out-Null
49+
$GitHubHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v6.0/Github-Helper.psm1' -folder $tmpFolder
50+
$ALGoHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v6.0/AL-Go-Helper.ps1' -folder $tmpFolder
51+
DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v6.0/Packages.json' -folder $tmpFolder | Out-Null
5252

5353
Import-Module $GitHubHelperPath
5454
. $ALGoHelperPath -local

.github/AL-Go-Settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
"nextMinorSchedule": "0 0 15 * *",
55
"UpdateGitHubGoSystemFilesSchedule": "0 0 1,15 * *",
66
"templateUrl": "https://github.com/microsoft/AL-Go-PTE@main",
7-
"templateSha": "72f3223b6a153cd1fae540f5d7388842e2f9ac1e"
7+
"templateSha": "aa12d5ac4df1db8e8849ac68aa1000260fa3b7f4"
88
}

.github/RELEASENOTES.copy.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,28 @@
1+
## v6.0
2+
3+
### Issues
4+
5+
- Issue 1184 Publish to Environment fails on 'Permission Denied'
6+
- AL Language extension in 25.0 doesn't contain the linux executable, use dotnet to invoke the dll instead.
7+
8+
### New Settings
9+
10+
- `deliverTo<deliverytarget>` now has an additional property called `ContinuousDelivery`, indicating whether or not to run continuous delivery to this deliveryTarget. Default is true.
11+
- `trustMicrosoftNuGetFeeds` Unless this setting is set to false, AL-Go for GitHub will trust the NuGet feeds provided by Microsoft. The feeds provided by Microsoft contains all Microsoft apps, all Microsoft symbols and symbols for all AppSource apps.
12+
- `trustedNuGetFeeds` - can be an array of NuGet feed specifications, which AL-Go for GitHub will use for dependency resolution. Every feed specification must include a URL property and can optionally include a few other properties:
13+
- url - The URL of the feed (examples: https://pkgs.dev.azure.com/myorg/apps/\_packaging/myrepo/nuget/v3/index.json or https://nuget.pkg.github.com/mygithuborg/index.json").
14+
- patterns - AL-Go for GitHub will only trust packages, where the ID matches this pattern. Default is all packages (\*).
15+
- fingerprints - If specified, AL-Go for GitHub will only trust packages signed with a certificate with a fingerprint matching one of the fingerprints in this array.
16+
- authTokenSecret - If the NuGet feed specified by URL is private, the authTokenSecret must be the name of a secret containing the authentication token with permissions to search and read packages from the NuGet feed.
17+
18+
### Support for delivering to GitHub Packages and NuGet
19+
20+
With this release the implementation for delivering to NuGet packages (by adding the NuGetContext secret), is similar to the functionality behind delivering to GitHub packages and the implementation is no longer in preview.
21+
22+
### Allow GitHubRunner and GitHubRunnerShell as project settings
23+
24+
Previously, AL-Go required the GitHubRunner and GitHubRunnerShell settings to be set on repository level. This has now been changed such that they can be set on project level.
25+
126
## v5.3
227

328
### Issues

.github/workflows/AddExistingAppOrTestApp.yaml

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

4848
- name: Checkout
49-
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
49+
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
5050

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

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

6262
- name: Read secrets
6363
id: ReadSecrets
64-
uses: microsoft/AL-Go-Actions/ReadSecrets@v5.3
64+
uses: microsoft/AL-Go-Actions/ReadSecrets@v6.0
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@v5.3
72+
uses: microsoft/AL-Go-Actions/AddExistingApp@v6.0
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@v5.3
82+
uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v6.0
8383
env:
8484
GITHUB_TOKEN: ${{ github.token }}
8585
with:

.github/workflows/CICD.yaml

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -45,24 +45,24 @@ jobs:
4545
workflowDepth: ${{ steps.DetermineWorkflowDepth.outputs.WorkflowDepth }}
4646
steps:
4747
- name: Dump Workflow Information
48-
uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v5.3
48+
uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v6.0
4949
with:
5050
shell: powershell
5151

5252
- name: Checkout
53-
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
53+
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
5454
with:
5555
lfs: true
5656

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

6363
- name: Read settings
6464
id: ReadSettings
65-
uses: microsoft/AL-Go-Actions/ReadSettings@v5.3
65+
uses: microsoft/AL-Go-Actions/ReadSettings@v6.0
6666
with:
6767
shell: powershell
6868
get: type, powerPlatformSolutionFolder
@@ -74,7 +74,7 @@ jobs:
7474
7575
- name: Determine Projects To Build
7676
id: determineProjectsToBuild
77-
uses: microsoft/AL-Go-Actions/DetermineProjectsToBuild@v5.3
77+
uses: microsoft/AL-Go-Actions/DetermineProjectsToBuild@v6.0
7878
with:
7979
shell: powershell
8080
maxBuildDepth: ${{ env.workflowDepth }}
@@ -87,23 +87,23 @@ jobs:
8787
8888
- name: Determine Delivery Target Secrets
8989
id: DetermineDeliveryTargetSecrets
90-
uses: microsoft/AL-Go-Actions/DetermineDeliveryTargets@v5.3
90+
uses: microsoft/AL-Go-Actions/DetermineDeliveryTargets@v6.0
9191
with:
9292
shell: powershell
9393
projectsJson: '${{ steps.determineProjectsToBuild.outputs.ProjectsJson }}'
9494
checkContextSecrets: 'false'
9595

9696
- name: Read secrets
9797
id: ReadSecrets
98-
uses: microsoft/AL-Go-Actions/ReadSecrets@v5.3
98+
uses: microsoft/AL-Go-Actions/ReadSecrets@v6.0
9999
with:
100100
shell: powershell
101101
gitHubSecrets: ${{ toJson(secrets) }}
102102
getSecrets: ${{ steps.DetermineDeliveryTargetSecrets.outputs.ContextSecrets }}
103103

104104
- name: Determine Delivery Targets
105105
id: DetermineDeliveryTargets
106-
uses: microsoft/AL-Go-Actions/DetermineDeliveryTargets@v5.3
106+
uses: microsoft/AL-Go-Actions/DetermineDeliveryTargets@v6.0
107107
env:
108108
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}'
109109
with:
@@ -113,7 +113,7 @@ jobs:
113113

114114
- name: Determine Deployment Environments
115115
id: DetermineDeploymentEnvironments
116-
uses: microsoft/AL-Go-Actions/DetermineDeploymentEnvironments@v5.3
116+
uses: microsoft/AL-Go-Actions/DetermineDeploymentEnvironments@v6.0
117117
env:
118118
GITHUB_TOKEN: ${{ github.token }}
119119
with:
@@ -126,16 +126,16 @@ jobs:
126126
runs-on: [ windows-latest ]
127127
steps:
128128
- name: Checkout
129-
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
129+
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
130130

131131
- name: Read settings
132-
uses: microsoft/AL-Go-Actions/ReadSettings@v5.3
132+
uses: microsoft/AL-Go-Actions/ReadSettings@v6.0
133133
with:
134134
shell: powershell
135135
get: templateUrl
136136

137137
- name: Check for updates to AL-Go system files
138-
uses: microsoft/AL-Go-Actions/CheckForUpdates@v5.3
138+
uses: microsoft/AL-Go-Actions/CheckForUpdates@v6.0
139139
with:
140140
shell: powershell
141141
templateUrl: ${{ env.templateUrl }}
@@ -152,8 +152,8 @@ jobs:
152152
uses: ./.github/workflows/_BuildALGoProject.yaml
153153
secrets: inherit
154154
with:
155-
shell: ${{ needs.Initialization.outputs.githubRunnerShell }}
156-
runsOn: ${{ needs.Initialization.outputs.githubRunner }}
155+
shell: ${{ matrix.githubRunnerShell }}
156+
runsOn: ${{ matrix.githubRunner }}
157157
project: ${{ matrix.project }}
158158
projectName: ${{ matrix.projectName }}
159159
buildMode: ${{ matrix.buildMode }}
@@ -179,15 +179,15 @@ jobs:
179179
url: ${{ steps.deployment.outputs.page_url }}
180180
steps:
181181
- name: Checkout
182-
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
182+
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
183183

184184
- name: Download artifacts
185185
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
186186
with:
187187
path: '.artifacts'
188188

189189
- name: Read settings
190-
uses: microsoft/AL-Go-Actions/ReadSettings@v5.3
190+
uses: microsoft/AL-Go-Actions/ReadSettings@v6.0
191191
with:
192192
shell: powershell
193193

@@ -196,7 +196,7 @@ jobs:
196196
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0
197197

198198
- name: Build Reference Documentation
199-
uses: microsoft/AL-Go-Actions/BuildReferenceDocumentation@v5.3
199+
uses: microsoft/AL-Go-Actions/BuildReferenceDocumentation@v6.0
200200
with:
201201
shell: powershell
202202
artifacts: '.artifacts'
@@ -225,15 +225,15 @@ jobs:
225225
url: ${{ steps.Deploy.outputs.environmentUrl }}
226226
steps:
227227
- name: Checkout
228-
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
228+
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
229229

230230
- name: Download artifacts
231231
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
232232
with:
233233
path: '.artifacts'
234234

235235
- name: Read settings
236-
uses: microsoft/AL-Go-Actions/ReadSettings@v5.3
236+
uses: microsoft/AL-Go-Actions/ReadSettings@v6.0
237237
with:
238238
shell: ${{ matrix.shell }}
239239
get: type,powerPlatformSolutionFolder
@@ -247,15 +247,15 @@ jobs:
247247
248248
- name: Read secrets
249249
id: ReadSecrets
250-
uses: microsoft/AL-Go-Actions/ReadSecrets@v5.3
250+
uses: microsoft/AL-Go-Actions/ReadSecrets@v6.0
251251
with:
252252
shell: ${{ matrix.shell }}
253253
gitHubSecrets: ${{ toJson(secrets) }}
254254
getSecrets: '${{ steps.envName.outputs.envName }}-AuthContext,${{ steps.envName.outputs.envName }}_AuthContext,AuthContext'
255255

256256
- name: Deploy to Business Central
257257
id: Deploy
258-
uses: microsoft/AL-Go-Actions/Deploy@v5.3
258+
uses: microsoft/AL-Go-Actions/Deploy@v6.0
259259
env:
260260
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}'
261261
with:
@@ -267,7 +267,7 @@ jobs:
267267

268268
- name: Deploy to Power Platform
269269
if: env.type == 'PTE' && env.powerPlatformSolutionFolder != ''
270-
uses: microsoft/AL-Go-Actions/DeployPowerPlatform@v5.3
270+
uses: microsoft/AL-Go-Actions/DeployPowerPlatform@v6.0
271271
env:
272272
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}'
273273
with:
@@ -287,28 +287,28 @@ jobs:
287287
name: Deliver to ${{ matrix.deliveryTarget }}
288288
steps:
289289
- name: Checkout
290-
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
290+
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
291291

292292
- name: Download artifacts
293293
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
294294
with:
295295
path: '.artifacts'
296296

297297
- name: Read settings
298-
uses: microsoft/AL-Go-Actions/ReadSettings@v5.3
298+
uses: microsoft/AL-Go-Actions/ReadSettings@v6.0
299299
with:
300300
shell: powershell
301301

302302
- name: Read secrets
303303
id: ReadSecrets
304-
uses: microsoft/AL-Go-Actions/ReadSecrets@v5.3
304+
uses: microsoft/AL-Go-Actions/ReadSecrets@v6.0
305305
with:
306306
shell: powershell
307307
gitHubSecrets: ${{ toJson(secrets) }}
308308
getSecrets: '${{ matrix.deliveryTarget }}Context'
309309

310310
- name: Deliver
311-
uses: microsoft/AL-Go-Actions/Deliver@v5.3
311+
uses: microsoft/AL-Go-Actions/Deliver@v6.0
312312
env:
313313
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}'
314314
with:
@@ -324,11 +324,11 @@ jobs:
324324
runs-on: [ windows-latest ]
325325
steps:
326326
- name: Checkout
327-
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
327+
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
328328

329329
- name: Finalize the workflow
330330
id: PostProcess
331-
uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v5.3
331+
uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v6.0
332332
env:
333333
GITHUB_TOKEN: ${{ github.token }}
334334
with:

.github/workflows/CreateApp.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,36 +51,36 @@ jobs:
5151
runs-on: [ windows-latest ]
5252
steps:
5353
- name: Dump Workflow Information
54-
uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v5.3
54+
uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v6.0
5555
with:
5656
shell: powershell
5757

5858
- name: Checkout
59-
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
59+
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
6060

6161
- name: Initialize the workflow
6262
id: init
63-
uses: microsoft/AL-Go-Actions/WorkflowInitialize@v5.3
63+
uses: microsoft/AL-Go-Actions/WorkflowInitialize@v6.0
6464
with:
6565
shell: powershell
6666

6767
- name: Read settings
68-
uses: microsoft/AL-Go-Actions/ReadSettings@v5.3
68+
uses: microsoft/AL-Go-Actions/ReadSettings@v6.0
6969
with:
7070
shell: powershell
7171
get: type
7272

7373
- name: Read secrets
7474
id: ReadSecrets
75-
uses: microsoft/AL-Go-Actions/ReadSecrets@v5.3
75+
uses: microsoft/AL-Go-Actions/ReadSecrets@v6.0
7676
with:
7777
shell: powershell
7878
gitHubSecrets: ${{ toJson(secrets) }}
7979
getSecrets: 'TokenForPush'
8080
useGhTokenWorkflowForPush: '${{ github.event.inputs.useGhTokenWorkflow }}'
8181

8282
- name: Creating a new app
83-
uses: microsoft/AL-Go-Actions/CreateApp@v5.3
83+
uses: microsoft/AL-Go-Actions/CreateApp@v6.0
8484
with:
8585
shell: powershell
8686
token: ${{ steps.ReadSecrets.outputs.TokenForPush }}
@@ -94,7 +94,7 @@ jobs:
9494

9595
- name: Finalize the workflow
9696
if: always()
97-
uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v5.3
97+
uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v6.0
9898
env:
9999
GITHUB_TOKEN: ${{ github.token }}
100100
with:

0 commit comments

Comments
 (0)