Skip to content

Commit d185e70

Browse files
[releases/25.1@ddefca2] Update AL-Go System Files from microsoft/AL-Go-PTE@preview - 81401b5 / Related to AB#539394 (#3307)
## v6.4 ### Deprecations - `alwaysBuildAllProjects` will be removed after October 1st 2025. Please set the `onPull_Request` property of the `incrementalBuilds` setting to false to force full builds in Pull Requests. - `<workflow>Schedule` will be removed after October 1st 2025. The old setting, where the setting key was a combination of the workflow name and `Schedule` (dynamic setting key name) is deprecated. Instead you need to use a setting called [workflowSchedule](https://aka.ms/algosettings#workflowSchedule) and either use [Conditional Settings](https://aka.ms/algosettings#conditional-settings) or place the setting in a workflow specific settings file. ### Issues - Issue 1433 Publish to Environment - DependencyInstallMode not found - Issue 1440 Create Release fails due to recent changes to the AL-Go - Issue 1330 CompilerFolder doesn't transfer installed Apps to NuGet resolution - Issue 1268 Do not throw an un-understandable error during nuGet download - Performance test sample code in 25.4 contains objects with ID 149201 and 149202, which are not renumbered - Issue 798 Publish To Environment breaks CI/CD pipelines - Issue 1182 Runs-on setting type is ambiguous - string or array - Issue 1502 NuGet dependency version is always LatestMatching ### New Workflow specific settings - `workflowSchedule` - can be structure with a property named `cron`, which must be a valid crontab, defining the CRON schedule for when the specified workflow should run. Default is no scheduled runs, only manual triggers. Build your crontab string here: [https://crontab.guru](https://crontab.guru). You need to run the Update AL-Go System Files workflow for the schedule to take effect.<br/>**Note:** If you configure a WorkflowSchedule for the CI/CD workflow, AL-Go will stop triggering CICDs on push unless you have also added CICDPushBranches to your settings.<br/>**Note also:** If you define a schedule for Update AL-Go System Files, it uses direct Commit instead of creating a PR. - `workflowConcurrency` - is used to control concurrency of workflows. Like with the `workflowSchedule` setting, this setting should be applied in workflow specific settings files or conditional settings. By default, all workflows allows for concurrency, except for the Create Release workflow. If you are using incremental builds in CI/CD it is also recommented to set WorkflowConcurrency to:<br/>`[ "group: ${{ github.workflow }}-${{ github.ref }}", "cancel-in-progress: true" ]`<br />in order to cancel prior incremental builds on the same branch.<br />Read more about workflow concurrency [here](https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/control-the-concurrency-of-workflows-and-jobs). ### New Repository Settings - `nuGetFeedSelectMode` determines the select mode when finding Business Central app packages from NuGet feeds, based on the dependency version specified in app.json. Options are: `Earliest` for earliest version of the package, `EarliestMatching` for earliest version of the package also compatible with the Business Central version used, `Exact` for the exact version of the package, `Latest` for the latest version of the package, `LatestMatching` for the latest version of the package also compatible with the Business Central version used. - `deployTo<environment>` now has two additional properties: - `includeTestAppsInSandboxEnvironment`, which deploys test apps and their dependencies to the specified sandbox environment if set to `true`. Deployment will fail if used on a Prod environment or if the test app has a dependency on Tests-TestLibraries. Default value is `false`. - `excludeAppIds`, which is an array of app ids which will be excluded from deployment. Default value is `[]` - `incrementalBuilds` - is a structure defining how you want AL-Go to handle incremental builds. When using incremental builds for a build, AL-Go will look for the latest successful build, newer than the defined `retentionDays` and only rebuild projects or apps (based on `mode`) which needs to be rebuilt. Properties in the structure includes: - `onPush` - set this property to **true** in order to enable incremental builds in CI/CD triggered by a merge/push event. Default is **false**. - `onPull_Request` - set this property to **false** in order to disable incremental builds in Pull Request workflows. Default is **true**. - `onSchedule` - set this property to **true** in order to enable incremental builds in CI/CD when running on a schedule. Default is **false**. - `retentionDays` - number of days a successful build is good (and can be used for incremental builds). Default is **30**. - `mode` - defines the mode for incremental builds. Currently, two values are supported. Use **modifiedProjects** when you want to rebuild all apps in modified projects and depending projects or **modifiedApps** if you only want to rebuild modified apps and depending apps. > [!NOTE] > The projects mentioned here are AL-Go projects in a multi-project repository. A repository can contain multiple projects and a project can contain multiple apps. ### Run "Update AL-Go System Files" on multiple branches _Update AL-Go System Files_ has a new input to specify a list of branches to be updated in a single workflow run. When running the workflow on a schedule, you can now also specify `includeBranches` in `workflowSchedule` setting, which allows you to update the specified branches. Read more at https://aka.ms/algosettings#workflowSchedule. > [!NOTE] > When running "Update AL-Go System Files" on multiple branches, the template repository URL will be determined based on the branch the workflow runs on and it will be used for all of the specified branches. ### Support for incremental builds AL-Go for GitHub now supports incremental builds, which means that unchanged projects or apps will be reused from the previous good build. Read [this](https://aka.ms/algosettings#incrementalBuilds) to learn more. > [!NOTE] > When using incremental builds it is recommended to also set `workflowConcurrency` as defined [here](https://aka.ms/algosettings#workflowConcurrency). ### Support for GitHub App authentication AL-Go for GitHub now supports using a GitHub App specification as the GhTokenWorkflow secret for a more secure way of allowing repositories to run Update AL-Go System Files and other workflows which are creating commits and pull requests. See [this description](https://github.com/microsoft/AL-Go/blob/main/Scenarios/GhTokenWorkflow.md) to learn how to use GitHub App authentication. ### Support for embedded secrets in installApps and installTestApps settings If your installApps or installTestApps are secure URL, containing a secret token, you can now use a GitHub secret specification as part of or as the full URL of apps to install. An example could be: `"installApps": [ "https://www.dropbox.com/${{SECRETNAME}}&dl=1" ]` Which would hide the secret part of your URL instead of exposing it in clear text. 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 ddefca2 commit d185e70

File tree

23 files changed

+288
-151
lines changed

23 files changed

+288
-151
lines changed

.github/AL-Go-Settings.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
]
9393
},
9494
"UpdateALGoSystemFilesEnvironment": "Official-Build",
95-
"templateSha": "b637e79b7209c4b6e42696e1efdb066a0a25f3fb",
95+
"templateSha": "81401b56df3541e9945b0c2896f0ebc9c851bb78",
9696
"commitOptions": {
9797
"messageSuffix": "Related to AB#539394",
9898
"pullRequestAutoMerge": true,

.github/RELEASENOTES.copy.md

+54-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,56 @@
1-
## preview
1+
## v6.4
22

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.
3+
### Deprecations
4+
5+
- `alwaysBuildAllProjects` will be removed after October 1st 2025. Please set the `onPull_Request` property of the `incrementalBuilds` setting to false to force full builds in Pull Requests.
6+
- `<workflow>Schedule` will be removed after October 1st 2025. The old setting, where the setting key was a combination of the workflow name and `Schedule` (dynamic setting key name) is deprecated. Instead you need to use a setting called [workflowSchedule](https://aka.ms/algosettings#workflowSchedule) and either use [Conditional Settings](https://aka.ms/algosettings#conditional-settings) or place the setting in a workflow specific settings file.
7+
8+
### Issues
9+
10+
- Issue 1433 Publish to Environment - DependencyInstallMode not found
11+
- Issue 1440 Create Release fails due to recent changes to the AL-Go
12+
- Issue 1330 CompilerFolder doesn't transfer installed Apps to NuGet resolution
13+
- Issue 1268 Do not throw an un-understandable error during nuGet download
14+
- Performance test sample code in 25.4 contains objects with ID 149201 and 149202, which are not renumbered
15+
- Issue 798 Publish To Environment breaks CI/CD pipelines
16+
- Issue 1182 Runs-on setting type is ambiguous - string or array
17+
- Issue 1502 NuGet dependency version is always LatestMatching
18+
19+
### New Workflow specific settings
20+
21+
- `workflowSchedule` - can be structure with a property named `cron`, which must be a valid crontab, defining the CRON schedule for when the specified workflow should run. Default is no scheduled runs, only manual triggers. Build your crontab string here: [https://crontab.guru](https://crontab.guru). You need to run the Update AL-Go System Files workflow for the schedule to take effect.<br/>**Note:** If you configure a WorkflowSchedule for the CI/CD workflow, AL-Go will stop triggering CICDs on push unless you have also added CICDPushBranches to your settings.<br/>**Note also:** If you define a schedule for Update AL-Go System Files, it uses direct Commit instead of creating a PR.
22+
- `workflowConcurrency` - is used to control concurrency of workflows. Like with the `workflowSchedule` setting, this setting should be applied in workflow specific settings files or conditional settings. By default, all workflows allows for concurrency, except for the Create Release workflow. If you are using incremental builds in CI/CD it is also recommented to set WorkflowConcurrency to:<br/>`[ "group: ${{ github.workflow }}-${{ github.ref }}", "cancel-in-progress: true" ]`<br />in order to cancel prior incremental builds on the same branch.<br />Read more about workflow concurrency [here](https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/control-the-concurrency-of-workflows-and-jobs).
23+
24+
### New Repository Settings
25+
26+
- `nuGetFeedSelectMode` determines the select mode when finding Business Central app packages from NuGet feeds, based on the dependency version specified in app.json. Options are: `Earliest` for earliest version of the package, `EarliestMatching` for earliest version of the package also compatible with the Business Central version used, `Exact` for the exact version of the package, `Latest` for the latest version of the package, `LatestMatching` for the latest version of the package also compatible with the Business Central version used.
27+
- `deployTo<environment>` now has two additional properties:
28+
- `includeTestAppsInSandboxEnvironment`, which deploys test apps and their dependencies to the specified sandbox environment if set to `true`. Deployment will fail if used on a Prod environment or if the test app has a dependency on Tests-TestLibraries. Default value is `false`.
29+
- `excludeAppIds`, which is an array of app ids which will be excluded from deployment. Default value is `[]`
30+
- `incrementalBuilds` - is a structure defining how you want AL-Go to handle incremental builds. When using incremental builds for a build, AL-Go will look for the latest successful build, newer than the defined `retentionDays` and only rebuild projects or apps (based on `mode`) which needs to be rebuilt. Properties in the structure includes:
31+
- `onPush` - set this property to **true** in order to enable incremental builds in CI/CD triggered by a merge/push event. Default is **false**.
32+
- `onPull_Request` - set this property to **false** in order to disable incremental builds in Pull Request workflows. Default is **true**.
33+
- `onSchedule` - set this property to **true** in order to enable incremental builds in CI/CD when running on a schedule. Default is **false**.
34+
- `retentionDays` - number of days a successful build is good (and can be used for incremental builds). Default is **30**.
35+
- `mode` - defines the mode for incremental builds. Currently, two values are supported. Use **modifiedProjects** when you want to rebuild all apps in modified projects and depending projects or **modifiedApps** if you only want to rebuild modified apps and depending apps.
36+
37+
> [!NOTE]
38+
> The projects mentioned here are AL-Go projects in a multi-project repository. A repository can contain multiple projects and a project can contain multiple apps.
39+
40+
### Run "Update AL-Go System Files" on multiple branches
41+
42+
_Update AL-Go System Files_ has a new input to specify a list of branches to be updated in a single workflow run.
43+
When running the workflow on a schedule, you can now also specify `includeBranches` in `workflowSchedule` setting, which allows you to update the specified branches. Read more at https://aka.ms/algosettings#workflowSchedule.
44+
45+
> [!NOTE]
46+
> When running "Update AL-Go System Files" on multiple branches, the template repository URL will be determined based on the branch the workflow runs on and it will be used for all of the specified branches.
47+
48+
### Support for incremental builds
49+
50+
AL-Go for GitHub now supports incremental builds, which means that unchanged projects or apps will be reused from the previous good build. Read [this](https://aka.ms/algosettings#incrementalBuilds) to learn more.
51+
52+
> [!NOTE]
53+
> When using incremental builds it is recommended to also set `workflowConcurrency` as defined [here](https://aka.ms/algosettings#workflowConcurrency).
454
555
### Support for GitHub App authentication
656

@@ -152,7 +202,7 @@ In the summary after a Test Run, you now also have the result of performance tes
152202
### Support Ubuntu runners for all AL-Go workflows
153203

154204
Previously, the workflows "Update AL-Go System Files" and "TroubleShooting" were hardcoded to always run on `windows-latest` to prevent deadlocks and security issues.
155-
From now on, `ubuntu-lates` will also be allowed for these mission critical workflows, when changing the `runs-on` setting. Additionally, only the value `pwsh` for `shell` setting is allowed when using `ubuntu-latest` runners.
205+
From now on, `ubuntu-latest` will also be allowed for these mission critical workflows, when changing the `runs-on` setting. Additionally, only the value `pwsh` for `shell` setting is allowed when using `ubuntu-latest` runners.
156206

157207
### Updated AL-Go telemetry
158208

@@ -645,7 +695,7 @@ In the latest version, we always use LF as line seperator, UTF8 without BOM and
645695
### Experimental Support
646696

647697
Setting the repo setting "shell" to "pwsh", followed by running Update AL-Go System Files, will cause all PowerShell code to be run using PowerShell 7 instead of PowerShell 5. This functionality is experimental. Please report any issues at https://github.com/microsoft/AL-Go/issues
648-
Setting the repo setting "runs-on" to "Ubuntu-Latest", followed by running Update AL-Go System Files, will cause all non-build jobs to run using Linux. This functionality is experimental. Please report any issues at https://github.com/microsoft/AL-Go/issues
698+
Setting the repo setting "runs-on" to "Ubuntu-latest", followed by running Update AL-Go System Files, will cause all non-build jobs to run using Linux. This functionality is experimental. Please report any issues at https://github.com/microsoft/AL-Go/issues
649699

650700
## v2.2
651701

.github/workflows/CICD.yaml

+43-25
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,16 @@ jobs:
3939
githubRunner: ${{ steps.ReadSettings.outputs.GitHubRunnerJson }}
4040
githubRunnerShell: ${{ steps.ReadSettings.outputs.GitHubRunnerShell }}
4141
projects: ${{ steps.determineProjectsToBuild.outputs.ProjectsJson }}
42+
skippedProjects: ${{ steps.determineProjectsToBuild.outputs.SkippedProjectsJson }}
4243
projectDependenciesJson: ${{ steps.determineProjectsToBuild.outputs.ProjectDependenciesJson }}
4344
buildOrderJson: ${{ steps.determineProjectsToBuild.outputs.BuildOrderJson }}
44-
powerPlatformSolutionFolder: ${{ steps.DeterminePowerPlatformSolutionFolder.outputs.powerPlatformSolutionFolder }}
45+
baselineWorkflowRunId: ${{ steps.determineProjectsToBuild.outputs.BaselineWorkflowRunId }}
46+
baselineWorkflowSHA: ${{ steps.determineProjectsToBuild.outputs.BaselineWorkflowSHA }}
4547
workflowDepth: ${{ steps.DetermineWorkflowDepth.outputs.WorkflowDepth }}
48+
powerPlatformSolutionFolder: ${{ steps.DeterminePowerPlatformSolutionFolder.outputs.powerPlatformSolutionFolder }}
4649
steps:
4750
- name: Dump Workflow Information
48-
uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@b8d327e7c8110b8a19a48d4e84756fd5d9222136
51+
uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v6.4
4952
with:
5053
shell: powershell
5154

@@ -56,21 +59,21 @@ jobs:
5659

5760
- name: Initialize the workflow
5861
id: init
59-
uses: microsoft/AL-Go/Actions/WorkflowInitialize@b8d327e7c8110b8a19a48d4e84756fd5d9222136
62+
uses: microsoft/AL-Go-Actions/WorkflowInitialize@v6.4
6063
with:
6164
shell: powershell
6265

6366
- name: Read settings
6467
id: ReadSettings
65-
uses: microsoft/AL-Go/Actions/ReadSettings@b8d327e7c8110b8a19a48d4e84756fd5d9222136
68+
uses: microsoft/AL-Go-Actions/ReadSettings@v6.4
6669
with:
6770
shell: powershell
6871
get: type,powerPlatformSolutionFolder,useGitSubmodules
6972

7073
- name: Read submodules token
7174
id: ReadSubmodulesToken
7275
if: env.useGitSubmodules != 'false' && env.useGitSubmodules != ''
73-
uses: microsoft/AL-Go/Actions/ReadSecrets@b8d327e7c8110b8a19a48d4e84756fd5d9222136
76+
uses: microsoft/AL-Go-Actions/ReadSecrets@v6.4
7477
with:
7578
shell: powershell
7679
gitHubSecrets: ${{ toJson(secrets) }}
@@ -91,7 +94,7 @@ jobs:
9194
9295
- name: Determine Projects To Build
9396
id: determineProjectsToBuild
94-
uses: microsoft/AL-Go/Actions/DetermineProjectsToBuild@b8d327e7c8110b8a19a48d4e84756fd5d9222136
97+
uses: microsoft/AL-Go-Actions/DetermineProjectsToBuild@v6.4
9598
with:
9699
shell: powershell
97100
maxBuildDepth: ${{ env.workflowDepth }}
@@ -104,23 +107,23 @@ jobs:
104107
105108
- name: Determine Delivery Target Secrets
106109
id: DetermineDeliveryTargetSecrets
107-
uses: microsoft/AL-Go/Actions/DetermineDeliveryTargets@b8d327e7c8110b8a19a48d4e84756fd5d9222136
110+
uses: microsoft/AL-Go-Actions/DetermineDeliveryTargets@v6.4
108111
with:
109112
shell: powershell
110113
projectsJson: '${{ steps.determineProjectsToBuild.outputs.ProjectsJson }}'
111114
checkContextSecrets: 'false'
112115

113116
- name: Read secrets
114117
id: ReadSecrets
115-
uses: microsoft/AL-Go/Actions/ReadSecrets@b8d327e7c8110b8a19a48d4e84756fd5d9222136
118+
uses: microsoft/AL-Go-Actions/ReadSecrets@v6.4
116119
with:
117120
shell: powershell
118121
gitHubSecrets: ${{ toJson(secrets) }}
119122
getSecrets: ${{ steps.DetermineDeliveryTargetSecrets.outputs.ContextSecrets }}
120123

121124
- name: Determine Delivery Targets
122125
id: DetermineDeliveryTargets
123-
uses: microsoft/AL-Go/Actions/DetermineDeliveryTargets@b8d327e7c8110b8a19a48d4e84756fd5d9222136
126+
uses: microsoft/AL-Go-Actions/DetermineDeliveryTargets@v6.4
124127
env:
125128
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}'
126129
with:
@@ -130,7 +133,7 @@ jobs:
130133

131134
- name: Determine Deployment Environments
132135
id: DetermineDeploymentEnvironments
133-
uses: microsoft/AL-Go/Actions/DetermineDeploymentEnvironments@b8d327e7c8110b8a19a48d4e84756fd5d9222136
136+
uses: microsoft/AL-Go-Actions/DetermineDeploymentEnvironments@v6.4
134137
env:
135138
GITHUB_TOKEN: ${{ github.token }}
136139
with:
@@ -146,16 +149,25 @@ jobs:
146149
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
147150

148151
- name: Read settings
149-
uses: microsoft/AL-Go/Actions/ReadSettings@b8d327e7c8110b8a19a48d4e84756fd5d9222136
152+
uses: microsoft/AL-Go-Actions/ReadSettings@v6.4
150153
with:
151154
shell: powershell
152155
get: templateUrl
153156

157+
- name: Read secrets
158+
id: ReadSecrets
159+
uses: microsoft/AL-Go-Actions/[email protected]
160+
with:
161+
shell: powershell
162+
gitHubSecrets: ${{ toJson(secrets) }}
163+
getSecrets: 'ghTokenWorkflow'
164+
154165
- name: Check for updates to AL-Go system files
155-
uses: microsoft/AL-Go/Actions/CheckForUpdates@b8d327e7c8110b8a19a48d4e84756fd5d9222136
166+
uses: microsoft/AL-Go-Actions/CheckForUpdates@v6.4
156167
with:
157168
shell: powershell
158169
templateUrl: ${{ env.templateUrl }}
170+
token: ${{ fromJson(steps.ReadSecrets.outputs.Secrets).ghTokenWorkflow }}
159171
downloadLatest: true
160172

161173
Build1:
@@ -174,7 +186,10 @@ jobs:
174186
project: ${{ matrix.project }}
175187
projectName: ${{ matrix.projectName }}
176188
buildMode: ${{ matrix.buildMode }}
189+
skippedProjectsJson: ${{ needs.Initialization.outputs.skippedProjects }}
177190
projectDependenciesJson: ${{ needs.Initialization.outputs.projectDependenciesJson }}
191+
baselineWorkflowRunId: ${{ needs.Initialization.outputs.baselineWorkflowRunId }}
192+
baselineWorkflowSHA: ${{ needs.Initialization.outputs.baselineWorkflowSHA }}
178193
secrets: 'licenseFileUrl,codeSignCertificateUrl,*codeSignCertificatePassword,keyVaultCertificateUrl,*keyVaultCertificatePassword,keyVaultClientId,gitHubPackagesContext,applicationInsightsConnectionString'
179194
signArtifacts: true
180195
useArtifactCache: true
@@ -195,7 +210,10 @@ jobs:
195210
project: ${{ matrix.project }}
196211
projectName: ${{ matrix.projectName }}
197212
buildMode: ${{ matrix.buildMode }}
213+
skippedProjectsJson: ${{ needs.Initialization.outputs.skippedProjects }}
198214
projectDependenciesJson: ${{ needs.Initialization.outputs.projectDependenciesJson }}
215+
baselineWorkflowRunId: ${{ needs.Initialization.outputs.baselineWorkflowRunId }}
216+
baselineWorkflowSHA: ${{ needs.Initialization.outputs.baselineWorkflowSHA }}
199217
secrets: 'licenseFileUrl,codeSignCertificateUrl,*codeSignCertificatePassword,keyVaultCertificateUrl,*keyVaultCertificatePassword,keyVaultClientId,gitHubPackagesContext,applicationInsightsConnectionString'
200218
signArtifacts: true
201219
useArtifactCache: true
@@ -218,12 +236,12 @@ jobs:
218236
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
219237

220238
- name: Download artifacts
221-
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
239+
uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
222240
with:
223241
path: '.artifacts'
224242

225243
- name: Read settings
226-
uses: microsoft/AL-Go/Actions/ReadSettings@b8d327e7c8110b8a19a48d4e84756fd5d9222136
244+
uses: microsoft/AL-Go-Actions/ReadSettings@v6.4
227245
with:
228246
shell: powershell
229247

@@ -232,7 +250,7 @@ jobs:
232250
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0
233251

234252
- name: Build Reference Documentation
235-
uses: microsoft/AL-Go/Actions/BuildReferenceDocumentation@b8d327e7c8110b8a19a48d4e84756fd5d9222136
253+
uses: microsoft/AL-Go-Actions/BuildReferenceDocumentation@v6.4
236254
with:
237255
shell: powershell
238256
artifacts: '.artifacts'
@@ -264,12 +282,12 @@ jobs:
264282
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
265283

266284
- name: Download artifacts
267-
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
285+
uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
268286
with:
269287
path: '.artifacts'
270288

271289
- name: Read settings
272-
uses: microsoft/AL-Go/Actions/ReadSettings@b8d327e7c8110b8a19a48d4e84756fd5d9222136
290+
uses: microsoft/AL-Go-Actions/ReadSettings@v6.4
273291
with:
274292
shell: ${{ matrix.shell }}
275293
get: type,powerPlatformSolutionFolder
@@ -283,15 +301,15 @@ jobs:
283301
284302
- name: Read secrets
285303
id: ReadSecrets
286-
uses: microsoft/AL-Go/Actions/ReadSecrets@b8d327e7c8110b8a19a48d4e84756fd5d9222136
304+
uses: microsoft/AL-Go-Actions/ReadSecrets@v6.4
287305
with:
288306
shell: ${{ matrix.shell }}
289307
gitHubSecrets: ${{ toJson(secrets) }}
290308
getSecrets: '${{ steps.envName.outputs.envName }}-AuthContext,${{ steps.envName.outputs.envName }}_AuthContext,AuthContext'
291309

292310
- name: Deploy to Business Central
293311
id: Deploy
294-
uses: microsoft/AL-Go/Actions/Deploy@b8d327e7c8110b8a19a48d4e84756fd5d9222136
312+
uses: microsoft/AL-Go-Actions/Deploy@v6.4
295313
env:
296314
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}'
297315
with:
@@ -303,7 +321,7 @@ jobs:
303321

304322
- name: Deploy to Power Platform
305323
if: env.type == 'PTE' && env.powerPlatformSolutionFolder != ''
306-
uses: microsoft/AL-Go/Actions/DeployPowerPlatform@b8d327e7c8110b8a19a48d4e84756fd5d9222136
324+
uses: microsoft/AL-Go-Actions/DeployPowerPlatform@v6.4
307325
env:
308326
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}'
309327
with:
@@ -326,25 +344,25 @@ jobs:
326344
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
327345

328346
- name: Download artifacts
329-
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
347+
uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
330348
with:
331349
path: '.artifacts'
332350

333351
- name: Read settings
334-
uses: microsoft/AL-Go/Actions/ReadSettings@b8d327e7c8110b8a19a48d4e84756fd5d9222136
352+
uses: microsoft/AL-Go-Actions/ReadSettings@v6.4
335353
with:
336354
shell: powershell
337355

338356
- name: Read secrets
339357
id: ReadSecrets
340-
uses: microsoft/AL-Go/Actions/ReadSecrets@b8d327e7c8110b8a19a48d4e84756fd5d9222136
358+
uses: microsoft/AL-Go-Actions/ReadSecrets@v6.4
341359
with:
342360
shell: powershell
343361
gitHubSecrets: ${{ toJson(secrets) }}
344362
getSecrets: '${{ matrix.deliveryTarget }}Context'
345363

346364
- name: Deliver
347-
uses: microsoft/AL-Go/Actions/Deliver@b8d327e7c8110b8a19a48d4e84756fd5d9222136
365+
uses: microsoft/AL-Go-Actions/Deliver@v6.4
348366
env:
349367
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}'
350368
with:
@@ -364,7 +382,7 @@ jobs:
364382

365383
- name: Finalize the workflow
366384
id: PostProcess
367-
uses: microsoft/AL-Go/Actions/WorkflowPostProcess@b8d327e7c8110b8a19a48d4e84756fd5d9222136
385+
uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v6.4
368386
env:
369387
GITHUB_TOKEN: ${{ github.token }}
370388
with:

0 commit comments

Comments
 (0)