Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/AL-Go-Settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://raw.githubusercontent.com/microsoft/AL-Go/a946346885b3c762fcbadb265823e70150c3e2f1/Actions/.Modules/settings.schema.json",
"$schema": "https://raw.githubusercontent.com/microsoft/AL-Go/957ea1ea2e286bc966ac24c9f24035dbd30d72ed/Actions/.Modules/settings.schema.json",
"type": "PTE",
"templateUrl": "https://github.com/microsoft/AL-Go-PTE@preview",
"bcContainerHelperVersion": "preview",
Expand Down Expand Up @@ -94,7 +94,7 @@
]
},
"UpdateALGoSystemFilesEnvironment": "Official-Build",
"templateSha": "fb1274920d226ed93c592d08218b77c64a01b195",
"templateSha": "c467e0645383cf215f5d51b8f71d09cb78e52291",
"commitOptions": {
"messageSuffix": "Related to AB#539394",
"pullRequestAutoMerge": true,
Expand Down
2 changes: 2 additions & 0 deletions .github/RELEASENOTES.copy.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ AL-Go repositories can now opt in to AI-powered review of AL pull requests, with

### Issues

- Issue 2454 - Fix separate test execution on Windows PowerShell 5.1 when an app contains multiple test codeunits, preserving each codeunit's ID and test methods.

- Issue 2417 - Fix workspace compilation with versioning strategy 3 to preserve each app's build number instead of failing with "build ('-1') must be a non-negative value". Explicit build number zero is now applied correctly.

- Issue 2438 - Create Release with app version `latest` now sorts repository artifacts by creation time before selecting the latest artifact for each project. Previously it relied on the order returned by the GitHub artifacts API (artifact id, which isn't chronological), so projects could resolve to artifacts from different, older CI/CD runs and the release failed with "The build selected for release doesn't contain all projects". That error now names the mismatching artifact and commits.
Expand Down
2 changes: 1 addition & 1 deletion .github/Test Next Major.settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://raw.githubusercontent.com/microsoft/AL-Go/a946346885b3c762fcbadb265823e70150c3e2f1/Actions/.Modules/settings.schema.json",
"$schema": "https://raw.githubusercontent.com/microsoft/AL-Go/957ea1ea2e286bc966ac24c9f24035dbd30d72ed/Actions/.Modules/settings.schema.json",
"artifact": "////nextmajor",
"cacheImageName": "",
"versioningStrategy": 15
Expand Down
2 changes: 1 addition & 1 deletion .github/Test Next Minor.settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://raw.githubusercontent.com/microsoft/AL-Go/a946346885b3c762fcbadb265823e70150c3e2f1/Actions/.Modules/settings.schema.json",
"$schema": "https://raw.githubusercontent.com/microsoft/AL-Go/957ea1ea2e286bc966ac24c9f24035dbd30d72ed/Actions/.Modules/settings.schema.json",
"artifact": "////nextminor",
"cacheImageName": "",
"versioningStrategy": 15
Expand Down
48 changes: 24 additions & 24 deletions .github/workflows/CICD.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
trackALAlertsInGitHub: ${{ steps.SetALCodeAnalysisVar.outputs.trackALAlertsInGitHub }}
steps:
- name: Dump Workflow Information
uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@a946346885b3c762fcbadb265823e70150c3e2f1
uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@957ea1ea2e286bc966ac24c9f24035dbd30d72ed
with:
shell: powershell

Expand All @@ -62,13 +62,13 @@ jobs:

- name: Initialize the workflow
id: init
uses: microsoft/AL-Go/Actions/WorkflowInitialize@a946346885b3c762fcbadb265823e70150c3e2f1
uses: microsoft/AL-Go/Actions/WorkflowInitialize@957ea1ea2e286bc966ac24c9f24035dbd30d72ed
with:
shell: powershell

- name: Read settings
id: ReadSettings
uses: microsoft/AL-Go/Actions/ReadSettings@a946346885b3c762fcbadb265823e70150c3e2f1
uses: microsoft/AL-Go/Actions/ReadSettings@957ea1ea2e286bc966ac24c9f24035dbd30d72ed
with:
shell: powershell
get: type,powerPlatformSolutionFolder,useGitSubmodules,trackALAlertsInGitHub
Expand All @@ -82,7 +82,7 @@ jobs:
- name: Read submodules token
id: ReadSubmodulesToken
if: env.useGitSubmodules != 'false' && env.useGitSubmodules != ''
uses: microsoft/AL-Go/Actions/ReadSecrets@a946346885b3c762fcbadb265823e70150c3e2f1
uses: microsoft/AL-Go/Actions/ReadSecrets@957ea1ea2e286bc966ac24c9f24035dbd30d72ed
with:
shell: powershell
gitHubSecrets: ${{ toJson(secrets) }}
Expand All @@ -103,7 +103,7 @@ jobs:

- name: Determine Projects To Build
id: determineProjectsToBuild
uses: microsoft/AL-Go/Actions/DetermineProjectsToBuild@a946346885b3c762fcbadb265823e70150c3e2f1
uses: microsoft/AL-Go/Actions/DetermineProjectsToBuild@957ea1ea2e286bc966ac24c9f24035dbd30d72ed
with:
shell: powershell
maxBuildDepth: ${{ env.workflowDepth }}
Expand All @@ -116,23 +116,23 @@ jobs:

- name: Determine Delivery Target Secrets
id: DetermineDeliveryTargetSecrets
uses: microsoft/AL-Go/Actions/DetermineDeliveryTargets@a946346885b3c762fcbadb265823e70150c3e2f1
uses: microsoft/AL-Go/Actions/DetermineDeliveryTargets@957ea1ea2e286bc966ac24c9f24035dbd30d72ed
with:
shell: powershell
projectsJson: '${{ steps.determineProjectsToBuild.outputs.ProjectsJson }}'
checkContextSecrets: 'false'

- name: Read secrets
id: ReadSecrets
uses: microsoft/AL-Go/Actions/ReadSecrets@a946346885b3c762fcbadb265823e70150c3e2f1
uses: microsoft/AL-Go/Actions/ReadSecrets@957ea1ea2e286bc966ac24c9f24035dbd30d72ed
with:
shell: powershell
gitHubSecrets: ${{ toJson(secrets) }}
getSecrets: ${{ steps.DetermineDeliveryTargetSecrets.outputs.ContextSecrets }}

- name: Determine Delivery Targets
id: DetermineDeliveryTargets
uses: microsoft/AL-Go/Actions/DetermineDeliveryTargets@a946346885b3c762fcbadb265823e70150c3e2f1
uses: microsoft/AL-Go/Actions/DetermineDeliveryTargets@957ea1ea2e286bc966ac24c9f24035dbd30d72ed
env:
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}'
with:
Expand All @@ -142,7 +142,7 @@ jobs:

- name: Determine Deployment Environments
id: DetermineDeploymentEnvironments
uses: microsoft/AL-Go/Actions/DetermineDeploymentEnvironments@a946346885b3c762fcbadb265823e70150c3e2f1
uses: microsoft/AL-Go/Actions/DetermineDeploymentEnvironments@957ea1ea2e286bc966ac24c9f24035dbd30d72ed
env:
GITHUB_TOKEN: ${{ github.token }}
with:
Expand All @@ -158,21 +158,21 @@ jobs:
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- name: Read settings
uses: microsoft/AL-Go/Actions/ReadSettings@a946346885b3c762fcbadb265823e70150c3e2f1
uses: microsoft/AL-Go/Actions/ReadSettings@957ea1ea2e286bc966ac24c9f24035dbd30d72ed
with:
shell: powershell
get: templateUrl

- name: Read secrets
id: ReadSecrets
uses: microsoft/AL-Go/Actions/ReadSecrets@a946346885b3c762fcbadb265823e70150c3e2f1
uses: microsoft/AL-Go/Actions/ReadSecrets@957ea1ea2e286bc966ac24c9f24035dbd30d72ed
with:
shell: powershell
gitHubSecrets: ${{ toJson(secrets) }}
getSecrets: 'ghTokenWorkflow'

- name: Check for updates to AL-Go system files
uses: microsoft/AL-Go/Actions/CheckForUpdates@a946346885b3c762fcbadb265823e70150c3e2f1
uses: microsoft/AL-Go/Actions/CheckForUpdates@957ea1ea2e286bc966ac24c9f24035dbd30d72ed
env:
GITHUB_TOKEN: ${{ github.token }}
with:
Expand Down Expand Up @@ -253,7 +253,7 @@ jobs:
- name: Process AL Code Analysis Logs
id: ProcessALCodeAnalysisLogs
if: (success() || failure())
uses: microsoft/AL-Go/Actions/ProcessALCodeAnalysisLogs@a946346885b3c762fcbadb265823e70150c3e2f1
uses: microsoft/AL-Go/Actions/ProcessALCodeAnalysisLogs@957ea1ea2e286bc966ac24c9f24035dbd30d72ed
with:
shell: powershell

Expand Down Expand Up @@ -289,13 +289,13 @@ jobs:
path: '.artifacts'

- name: Read settings
uses: microsoft/AL-Go/Actions/ReadSettings@a946346885b3c762fcbadb265823e70150c3e2f1
uses: microsoft/AL-Go/Actions/ReadSettings@957ea1ea2e286bc966ac24c9f24035dbd30d72ed
with:
shell: powershell

- name: Determine ArtifactUrl
id: determineArtifactUrl
uses: microsoft/AL-Go/Actions/DetermineArtifactUrl@a946346885b3c762fcbadb265823e70150c3e2f1
uses: microsoft/AL-Go/Actions/DetermineArtifactUrl@957ea1ea2e286bc966ac24c9f24035dbd30d72ed
with:
shell: powershell

Expand All @@ -304,7 +304,7 @@ jobs:
uses: actions/configure-pages@45bfe0192ca1faeb007ade9deae92b16b8254a0d # v6.0.0

- name: Build Reference Documentation
uses: microsoft/AL-Go/Actions/BuildReferenceDocumentation@a946346885b3c762fcbadb265823e70150c3e2f1
uses: microsoft/AL-Go/Actions/BuildReferenceDocumentation@957ea1ea2e286bc966ac24c9f24035dbd30d72ed
with:
shell: powershell
artifacts: '.artifacts'
Expand Down Expand Up @@ -347,7 +347,7 @@ jobs:
path: '.artifacts'

- name: Read settings
uses: microsoft/AL-Go/Actions/ReadSettings@a946346885b3c762fcbadb265823e70150c3e2f1
uses: microsoft/AL-Go/Actions/ReadSettings@957ea1ea2e286bc966ac24c9f24035dbd30d72ed
with:
shell: ${{ matrix.shell }}
get: type,powerPlatformSolutionFolder
Expand All @@ -361,15 +361,15 @@ jobs:

- name: Read secrets
id: ReadSecrets
uses: microsoft/AL-Go/Actions/ReadSecrets@a946346885b3c762fcbadb265823e70150c3e2f1
uses: microsoft/AL-Go/Actions/ReadSecrets@957ea1ea2e286bc966ac24c9f24035dbd30d72ed
with:
shell: ${{ matrix.shell }}
gitHubSecrets: ${{ toJson(secrets) }}
getSecrets: '${{ steps.envName.outputs.envName }}-AuthContext,${{ steps.envName.outputs.envName }}_AuthContext,AuthContext'

- name: Deploy to Business Central
id: Deploy
uses: microsoft/AL-Go/Actions/Deploy@a946346885b3c762fcbadb265823e70150c3e2f1
uses: microsoft/AL-Go/Actions/Deploy@957ea1ea2e286bc966ac24c9f24035dbd30d72ed
env:
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}'
with:
Expand All @@ -381,7 +381,7 @@ jobs:

- name: Deploy to Power Platform
if: env.type == 'PTE' && env.powerPlatformSolutionFolder != ''
uses: microsoft/AL-Go/Actions/DeployPowerPlatform@a946346885b3c762fcbadb265823e70150c3e2f1
uses: microsoft/AL-Go/Actions/DeployPowerPlatform@957ea1ea2e286bc966ac24c9f24035dbd30d72ed
env:
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}'
with:
Expand Down Expand Up @@ -411,20 +411,20 @@ jobs:
path: '.artifacts'

- name: Read settings
uses: microsoft/AL-Go/Actions/ReadSettings@a946346885b3c762fcbadb265823e70150c3e2f1
uses: microsoft/AL-Go/Actions/ReadSettings@957ea1ea2e286bc966ac24c9f24035dbd30d72ed
with:
shell: powershell

- name: Read secrets
id: ReadSecrets
uses: microsoft/AL-Go/Actions/ReadSecrets@a946346885b3c762fcbadb265823e70150c3e2f1
uses: microsoft/AL-Go/Actions/ReadSecrets@957ea1ea2e286bc966ac24c9f24035dbd30d72ed
with:
shell: powershell
gitHubSecrets: ${{ toJson(secrets) }}
getSecrets: '${{ matrix.deliveryTarget }}Context'

- name: Deliver
uses: microsoft/AL-Go/Actions/Deliver@a946346885b3c762fcbadb265823e70150c3e2f1
uses: microsoft/AL-Go/Actions/Deliver@957ea1ea2e286bc966ac24c9f24035dbd30d72ed
env:
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}'
with:
Expand All @@ -444,7 +444,7 @@ jobs:

- name: Finalize the workflow
id: PostProcess
uses: microsoft/AL-Go/Actions/WorkflowPostProcess@a946346885b3c762fcbadb265823e70150c3e2f1
uses: microsoft/AL-Go/Actions/WorkflowPostProcess@957ea1ea2e286bc966ac24c9f24035dbd30d72ed
env:
GITHUB_TOKEN: ${{ github.token }}
with:
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/DeployReferenceDocumentation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,24 +30,24 @@ jobs:

- name: Initialize the workflow
id: init
uses: microsoft/AL-Go/Actions/WorkflowInitialize@a946346885b3c762fcbadb265823e70150c3e2f1
uses: microsoft/AL-Go/Actions/WorkflowInitialize@957ea1ea2e286bc966ac24c9f24035dbd30d72ed
with:
shell: powershell

- name: Read settings
uses: microsoft/AL-Go/Actions/ReadSettings@a946346885b3c762fcbadb265823e70150c3e2f1
uses: microsoft/AL-Go/Actions/ReadSettings@957ea1ea2e286bc966ac24c9f24035dbd30d72ed
with:
shell: powershell

- name: Determine ArtifactUrl
id: determineArtifactUrl
uses: microsoft/AL-Go/Actions/DetermineArtifactUrl@a946346885b3c762fcbadb265823e70150c3e2f1
uses: microsoft/AL-Go/Actions/DetermineArtifactUrl@957ea1ea2e286bc966ac24c9f24035dbd30d72ed
with:
shell: powershell

- name: Determine Deployment Environments
id: DetermineDeploymentEnvironments
uses: microsoft/AL-Go/Actions/DetermineDeploymentEnvironments@a946346885b3c762fcbadb265823e70150c3e2f1
uses: microsoft/AL-Go/Actions/DetermineDeploymentEnvironments@957ea1ea2e286bc966ac24c9f24035dbd30d72ed
env:
GITHUB_TOKEN: ${{ github.token }}
with:
Expand All @@ -60,7 +60,7 @@ jobs:
uses: actions/configure-pages@45bfe0192ca1faeb007ade9deae92b16b8254a0d # v6.0.0

- name: Build Reference Documentation
uses: microsoft/AL-Go/Actions/BuildReferenceDocumentation@a946346885b3c762fcbadb265823e70150c3e2f1
uses: microsoft/AL-Go/Actions/BuildReferenceDocumentation@957ea1ea2e286bc966ac24c9f24035dbd30d72ed
with:
shell: powershell
artifacts: 'latest'
Expand All @@ -78,7 +78,7 @@ jobs:

- name: Finalize the workflow
if: always()
uses: microsoft/AL-Go/Actions/WorkflowPostProcess@a946346885b3c762fcbadb265823e70150c3e2f1
uses: microsoft/AL-Go/Actions/WorkflowPostProcess@957ea1ea2e286bc966ac24c9f24035dbd30d72ed
env:
GITHUB_TOKEN: ${{ github.token }}
with:
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/IncrementVersionNumber.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
pull-requests: write
steps:
- name: Dump Workflow Information
uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@a946346885b3c762fcbadb265823e70150c3e2f1
uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@957ea1ea2e286bc966ac24c9f24035dbd30d72ed
with:
shell: powershell

Expand All @@ -57,32 +57,32 @@ jobs:

- name: Initialize the workflow
id: init
uses: microsoft/AL-Go/Actions/WorkflowInitialize@a946346885b3c762fcbadb265823e70150c3e2f1
uses: microsoft/AL-Go/Actions/WorkflowInitialize@957ea1ea2e286bc966ac24c9f24035dbd30d72ed
with:
shell: powershell

- name: Read settings
uses: microsoft/AL-Go/Actions/ReadSettings@a946346885b3c762fcbadb265823e70150c3e2f1
uses: microsoft/AL-Go/Actions/ReadSettings@957ea1ea2e286bc966ac24c9f24035dbd30d72ed
with:
shell: powershell

- name: Validate Workflow Input
if: ${{ github.event_name == 'workflow_dispatch' }}
uses: microsoft/AL-Go/Actions/ValidateWorkflowInput@a946346885b3c762fcbadb265823e70150c3e2f1
uses: microsoft/AL-Go/Actions/ValidateWorkflowInput@957ea1ea2e286bc966ac24c9f24035dbd30d72ed
with:
shell: powershell

- name: Read secrets
id: ReadSecrets
uses: microsoft/AL-Go/Actions/ReadSecrets@a946346885b3c762fcbadb265823e70150c3e2f1
uses: microsoft/AL-Go/Actions/ReadSecrets@957ea1ea2e286bc966ac24c9f24035dbd30d72ed
with:
shell: powershell
gitHubSecrets: ${{ toJson(secrets) }}
getSecrets: 'TokenForPush'
useGhTokenWorkflowForPush: '${{ github.event.inputs.useGhTokenWorkflow }}'

- name: Increment Version Number
uses: microsoft/AL-Go/Actions/IncrementVersionNumber@a946346885b3c762fcbadb265823e70150c3e2f1
uses: microsoft/AL-Go/Actions/IncrementVersionNumber@957ea1ea2e286bc966ac24c9f24035dbd30d72ed
with:
shell: powershell
token: ${{ steps.ReadSecrets.outputs.TokenForPush }}
Expand All @@ -93,7 +93,7 @@ jobs:

- name: Finalize the workflow
if: always()
uses: microsoft/AL-Go/Actions/WorkflowPostProcess@a946346885b3c762fcbadb265823e70150c3e2f1
uses: microsoft/AL-Go/Actions/WorkflowPostProcess@957ea1ea2e286bc966ac24c9f24035dbd30d72ed
env:
GITHUB_TOKEN: ${{ github.token }}
with:
Expand Down
Loading
Loading