Skip to content
Open
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/55f06533726d052e7603277236f2bcbcd67fa6cf/Actions/.Modules/settings.schema.json",
"$schema": "https://raw.githubusercontent.com/microsoft/AL-Go/0be3b94b5da6f31f5ac402d6983846b80d387e42/Actions/.Modules/settings.schema.json",
"type": "PTE",
"templateUrl": "https://github.com/microsoft/AL-Go-PTE@preview",
"bcContainerHelperVersion": "preview",
Expand Down Expand Up @@ -91,7 +91,7 @@
]
},
"UpdateALGoSystemFilesEnvironment": "Official-Build",
"templateSha": "cb1099b0e43feda0a5b7a10e106fdf936002898e",
"templateSha": "dda5b81ef15cb9b4fc010543bdf81d75fdb2931c",
"commitOptions": {
"messageSuffix": "Related to AB#539394",
"pullRequestAutoMerge": true,
Expand Down
7 changes: 7 additions & 0 deletions .github/RELEASENOTES.copy.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ Please note that some automated features are premium and require the use of [Git

- Discussion 1885 Conditional settings for CI/CD are not applied
- Discussion 1899 Remove optional properties from "required" list in settings.schema.json
- Issue 1905 AL-Go system files update fails (Get Workflow Multi-Run Branches action fails when there are tags with same value but different casing)
- Issue 1926 Deployment fails when using build modes
- Issue 1898 GetDependencies in localDevEnv does not fallback to github token
- Issue 1947 Project settings are ignored when loading bccontainerhelper
- Issue 1937 trackALAlertsInGitHub is failing in preview
- DeployTo settings from environment-specific AL-Go settings are not applied when deploying
- `ReadSettings` action outputs too much information that is mainly used for debugging

## v7.3

Expand Down
60 changes: 30 additions & 30 deletions .github/workflows/CICD.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ jobs:
baselineWorkflowSHA: ${{ steps.determineProjectsToBuild.outputs.BaselineWorkflowSHA }}
workflowDepth: ${{ steps.DetermineWorkflowDepth.outputs.WorkflowDepth }}
powerPlatformSolutionFolder: ${{ steps.DeterminePowerPlatformSolutionFolder.outputs.powerPlatformSolutionFolder }}
trackALAlertsInGithub: ${{ steps.SetALCodeAnalysisVar.outputs.trackALAlertsInGithub }}
trackALAlertsInGitHub: ${{ steps.SetALCodeAnalysisVar.outputs.trackALAlertsInGitHub }}
steps:
- name: Dump Workflow Information
uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@55f06533726d052e7603277236f2bcbcd67fa6cf
uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@0be3b94b5da6f31f5ac402d6983846b80d387e42
with:
shell: powershell

Expand All @@ -61,27 +61,27 @@ jobs:

- name: Initialize the workflow
id: init
uses: microsoft/AL-Go/Actions/WorkflowInitialize@55f06533726d052e7603277236f2bcbcd67fa6cf
uses: microsoft/AL-Go/Actions/WorkflowInitialize@0be3b94b5da6f31f5ac402d6983846b80d387e42
with:
shell: powershell

- name: Read settings
id: ReadSettings
uses: microsoft/AL-Go/Actions/ReadSettings@55f06533726d052e7603277236f2bcbcd67fa6cf
uses: microsoft/AL-Go/Actions/ReadSettings@0be3b94b5da6f31f5ac402d6983846b80d387e42
with:
shell: powershell
get: type,powerPlatformSolutionFolder,useGitSubmodules,trackALAlertsInGithub
get: type,powerPlatformSolutionFolder,useGitSubmodules,trackALAlertsInGitHub

- name: Set AL Code Analysis Var output
id: SetALCodeAnalysisVar
run: |
Write-Host "trackALAlertsInGithub environment variable: '$($env:trackALAlertsInGithub)'"
Add-Content -Encoding UTF8 -Path $env:GITHUB_OUTPUT -Value "trackALAlertsInGithub=$($env:trackALAlertsInGithub)"
Write-Host "trackALAlertsInGitHub environment variable: '$($env:trackALAlertsInGitHub)'"
Add-Content -Encoding UTF8 -Path $env:GITHUB_OUTPUT -Value "trackALAlertsInGitHub=$($env:trackALAlertsInGitHub)"

- name: Read submodules token
id: ReadSubmodulesToken
if: env.useGitSubmodules != 'false' && env.useGitSubmodules != ''
uses: microsoft/AL-Go/Actions/ReadSecrets@55f06533726d052e7603277236f2bcbcd67fa6cf
uses: microsoft/AL-Go/Actions/ReadSecrets@0be3b94b5da6f31f5ac402d6983846b80d387e42
with:
shell: powershell
gitHubSecrets: ${{ toJson(secrets) }}
Expand All @@ -102,7 +102,7 @@ jobs:

- name: Determine Projects To Build
id: determineProjectsToBuild
uses: microsoft/AL-Go/Actions/DetermineProjectsToBuild@55f06533726d052e7603277236f2bcbcd67fa6cf
uses: microsoft/AL-Go/Actions/DetermineProjectsToBuild@0be3b94b5da6f31f5ac402d6983846b80d387e42
with:
shell: powershell
maxBuildDepth: ${{ env.workflowDepth }}
Expand All @@ -115,23 +115,23 @@ jobs:

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

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

- name: Determine Delivery Targets
id: DetermineDeliveryTargets
uses: microsoft/AL-Go/Actions/DetermineDeliveryTargets@55f06533726d052e7603277236f2bcbcd67fa6cf
uses: microsoft/AL-Go/Actions/DetermineDeliveryTargets@0be3b94b5da6f31f5ac402d6983846b80d387e42
env:
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}'
with:
Expand All @@ -141,7 +141,7 @@ jobs:

- name: Determine Deployment Environments
id: DetermineDeploymentEnvironments
uses: microsoft/AL-Go/Actions/DetermineDeploymentEnvironments@55f06533726d052e7603277236f2bcbcd67fa6cf
uses: microsoft/AL-Go/Actions/DetermineDeploymentEnvironments@0be3b94b5da6f31f5ac402d6983846b80d387e42
env:
GITHUB_TOKEN: ${{ github.token }}
with:
Expand All @@ -157,21 +157,21 @@ jobs:
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0

- name: Read settings
uses: microsoft/AL-Go/Actions/ReadSettings@55f06533726d052e7603277236f2bcbcd67fa6cf
uses: microsoft/AL-Go/Actions/ReadSettings@0be3b94b5da6f31f5ac402d6983846b80d387e42
with:
shell: powershell
get: templateUrl

- name: Read secrets
id: ReadSecrets
uses: microsoft/AL-Go/Actions/ReadSecrets@55f06533726d052e7603277236f2bcbcd67fa6cf
uses: microsoft/AL-Go/Actions/ReadSecrets@0be3b94b5da6f31f5ac402d6983846b80d387e42
with:
shell: powershell
gitHubSecrets: ${{ toJson(secrets) }}
getSecrets: 'ghTokenWorkflow'

- name: Check for updates to AL-Go system files
uses: microsoft/AL-Go/Actions/CheckForUpdates@55f06533726d052e7603277236f2bcbcd67fa6cf
uses: microsoft/AL-Go/Actions/CheckForUpdates@0be3b94b5da6f31f5ac402d6983846b80d387e42
env:
GITHUB_TOKEN: ${{ github.token }}
with:
Expand Down Expand Up @@ -232,7 +232,7 @@ jobs:

CodeAnalysisUpload:
needs: [ Initialization, Build ]
if: (!cancelled()) && (needs.Initialization.outputs.trackALAlertsInGithub == 'True')
if: (!cancelled()) && (needs.Initialization.outputs.trackALAlertsInGitHub == 'True')
runs-on: [ windows-latest ]
name: Code Analysis Processing
steps:
Expand All @@ -245,18 +245,18 @@ jobs:
with:
pattern: '*-ErrorLogs-*'
path: '${{ github.workspace }}/ErrorLogs/'
merge_multiple: true
merge-multiple: true

- name: Process AL Code Analysis Logs
id: ProcessALCodeAnalysisLogs
if: (success() || failure())
uses: microsoft/AL-Go/Actions/ProcessALCodeAnalysisLogs@55f06533726d052e7603277236f2bcbcd67fa6cf
uses: microsoft/AL-Go/Actions/ProcessALCodeAnalysisLogs@0be3b94b5da6f31f5ac402d6983846b80d387e42
with:
shell: powershell

- name: Upload SARIF file to GitHub
uses: github/codeql-action/upload-sarif@v3
if: always()
if: (success() || failure()) && (hashFiles(format('{0}/ErrorLogs/output.sarif.json',github.workspace)) != '')
with:
sarif_file: '${{ github.workspace }}/ErrorLogs/output.sarif.json'
category: "ALCodeAnalysis"
Expand Down Expand Up @@ -284,7 +284,7 @@ jobs:
path: '.artifacts'

- name: Read settings
uses: microsoft/AL-Go/Actions/ReadSettings@55f06533726d052e7603277236f2bcbcd67fa6cf
uses: microsoft/AL-Go/Actions/ReadSettings@0be3b94b5da6f31f5ac402d6983846b80d387e42
with:
shell: powershell

Expand All @@ -293,7 +293,7 @@ jobs:
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0

- name: Build Reference Documentation
uses: microsoft/AL-Go/Actions/BuildReferenceDocumentation@55f06533726d052e7603277236f2bcbcd67fa6cf
uses: microsoft/AL-Go/Actions/BuildReferenceDocumentation@0be3b94b5da6f31f5ac402d6983846b80d387e42
with:
shell: powershell
artifacts: '.artifacts'
Expand Down Expand Up @@ -333,7 +333,7 @@ jobs:
path: '.artifacts'

- name: Read settings
uses: microsoft/AL-Go/Actions/ReadSettings@55f06533726d052e7603277236f2bcbcd67fa6cf
uses: microsoft/AL-Go/Actions/ReadSettings@0be3b94b5da6f31f5ac402d6983846b80d387e42
with:
shell: ${{ matrix.shell }}
get: type,powerPlatformSolutionFolder
Expand All @@ -347,15 +347,15 @@ jobs:

- name: Read secrets
id: ReadSecrets
uses: microsoft/AL-Go/Actions/ReadSecrets@55f06533726d052e7603277236f2bcbcd67fa6cf
uses: microsoft/AL-Go/Actions/ReadSecrets@0be3b94b5da6f31f5ac402d6983846b80d387e42
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@55f06533726d052e7603277236f2bcbcd67fa6cf
uses: microsoft/AL-Go/Actions/Deploy@0be3b94b5da6f31f5ac402d6983846b80d387e42
env:
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}'
with:
Expand All @@ -367,7 +367,7 @@ jobs:

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

- name: Read settings
uses: microsoft/AL-Go/Actions/ReadSettings@55f06533726d052e7603277236f2bcbcd67fa6cf
uses: microsoft/AL-Go/Actions/ReadSettings@0be3b94b5da6f31f5ac402d6983846b80d387e42
with:
shell: powershell

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

- name: Deliver
uses: microsoft/AL-Go/Actions/Deliver@55f06533726d052e7603277236f2bcbcd67fa6cf
uses: microsoft/AL-Go/Actions/Deliver@0be3b94b5da6f31f5ac402d6983846b80d387e42
env:
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}'
with:
Expand All @@ -428,7 +428,7 @@ jobs:

- name: Finalize the workflow
id: PostProcess
uses: microsoft/AL-Go/Actions/WorkflowPostProcess@55f06533726d052e7603277236f2bcbcd67fa6cf
uses: microsoft/AL-Go/Actions/WorkflowPostProcess@0be3b94b5da6f31f5ac402d6983846b80d387e42
env:
GITHUB_TOKEN: ${{ github.token }}
with:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/DeployReferenceDocumentation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,18 @@ jobs:

- name: Initialize the workflow
id: init
uses: microsoft/AL-Go/Actions/WorkflowInitialize@55f06533726d052e7603277236f2bcbcd67fa6cf
uses: microsoft/AL-Go/Actions/WorkflowInitialize@0be3b94b5da6f31f5ac402d6983846b80d387e42
with:
shell: powershell

- name: Read settings
uses: microsoft/AL-Go/Actions/ReadSettings@55f06533726d052e7603277236f2bcbcd67fa6cf
uses: microsoft/AL-Go/Actions/ReadSettings@0be3b94b5da6f31f5ac402d6983846b80d387e42
with:
shell: powershell

- name: Determine Deployment Environments
id: DetermineDeploymentEnvironments
uses: microsoft/AL-Go/Actions/DetermineDeploymentEnvironments@55f06533726d052e7603277236f2bcbcd67fa6cf
uses: microsoft/AL-Go/Actions/DetermineDeploymentEnvironments@0be3b94b5da6f31f5ac402d6983846b80d387e42
env:
GITHUB_TOKEN: ${{ github.token }}
with:
Expand All @@ -54,7 +54,7 @@ jobs:
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0

- name: Build Reference Documentation
uses: microsoft/AL-Go/Actions/BuildReferenceDocumentation@55f06533726d052e7603277236f2bcbcd67fa6cf
uses: microsoft/AL-Go/Actions/BuildReferenceDocumentation@0be3b94b5da6f31f5ac402d6983846b80d387e42
with:
shell: powershell
artifacts: 'latest'
Expand All @@ -71,7 +71,7 @@ jobs:

- name: Finalize the workflow
if: always()
uses: microsoft/AL-Go/Actions/WorkflowPostProcess@55f06533726d052e7603277236f2bcbcd67fa6cf
uses: microsoft/AL-Go/Actions/WorkflowPostProcess@0be3b94b5da6f31f5ac402d6983846b80d387e42
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@55f06533726d052e7603277236f2bcbcd67fa6cf
uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@0be3b94b5da6f31f5ac402d6983846b80d387e42
with:
shell: powershell

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

- name: Initialize the workflow
id: init
uses: microsoft/AL-Go/Actions/WorkflowInitialize@55f06533726d052e7603277236f2bcbcd67fa6cf
uses: microsoft/AL-Go/Actions/WorkflowInitialize@0be3b94b5da6f31f5ac402d6983846b80d387e42
with:
shell: powershell

- name: Read settings
uses: microsoft/AL-Go/Actions/ReadSettings@55f06533726d052e7603277236f2bcbcd67fa6cf
uses: microsoft/AL-Go/Actions/ReadSettings@0be3b94b5da6f31f5ac402d6983846b80d387e42
with:
shell: powershell

- name: Validate Workflow Input
if: ${{ github.event_name == 'workflow_dispatch' }}
uses: microsoft/AL-Go/Actions/ValidateWorkflowInput@55f06533726d052e7603277236f2bcbcd67fa6cf
uses: microsoft/AL-Go/Actions/ValidateWorkflowInput@0be3b94b5da6f31f5ac402d6983846b80d387e42
with:
shell: powershell

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

- name: Increment Version Number
uses: microsoft/AL-Go/Actions/IncrementVersionNumber@55f06533726d052e7603277236f2bcbcd67fa6cf
uses: microsoft/AL-Go/Actions/IncrementVersionNumber@0be3b94b5da6f31f5ac402d6983846b80d387e42
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@55f06533726d052e7603277236f2bcbcd67fa6cf
uses: microsoft/AL-Go/Actions/WorkflowPostProcess@0be3b94b5da6f31f5ac402d6983846b80d387e42
env:
GITHUB_TOKEN: ${{ github.token }}
with:
Expand Down
Loading
Loading