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
2 changes: 1 addition & 1 deletion .github/AL-Go-Settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@
"Account": "BCCodeSigningTest",
"CertificateProfile": "BCCodeSigningPublic"
},
"templateSha": "52f5ff81bf4c58846d15cb593589596bb573b504"
"templateSha": "1a78239c6dd89870bae4629d7d80406eaf51fc67"
}
36 changes: 36 additions & 0 deletions .github/RELEASENOTES.copy.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,39 @@
## v7.2

### Removed functionality

As stated in [AL-Go Deprecations](https://aka.ms/algodeprecations#cleanModePreprocessorSymbols), setting `cleanModePreprocessorSymbols` is no longer supported and will be ignored by AL-Go for GitHub.

### Security

- Add top-level permissions for _Increment Version Number_ workflow

### Issues

- Issue 1697 Error in CheckForUpdates: "Internet Explorer engine is not available" when using self-hosted runners
- Issue 1685 HttpError: Resource not accessible by integration
- Issue 1757 Error when signing apps with key vault signing

### Workflow input validation

Some workflow inputs are now validated early in order to avoid workflows to make modifications like creating a release, when we already should know that an error will occur later.

### Test settings against a JSON schema

AL-Go for GitHub settings now has a schema. The following line is added at the beginning to any AL-Go settings files to utilize the schema:

```
"$schema": "https://raw.githubusercontent.com/microsoft/AL-Go-Actions/<version>/Actions/settings.schema.json"
```

### Failing pull requests if new warnings are added

By setting failOn to 'newWarning', pull requests will fail if new warnings are introduced. This feature compares the warnings in the pull request build against those in the latest successful CI/CD build and fails if new warnings are detected.

### AL-Go Telemetry

Now AL-Go telemetry also logs `ActionDuration` which makes it possible to track the duration of the different steps in the AL-Go workflows (e.g. RunPipeline or Sign)

## v7.1

### Issues
Expand Down
44 changes: 22 additions & 22 deletions .github/workflows/CICD.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
powerPlatformSolutionFolder: ${{ steps.DeterminePowerPlatformSolutionFolder.outputs.powerPlatformSolutionFolder }}
steps:
- name: Dump Workflow Information
uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v7.1
uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v7.2
with:
shell: pwsh

Expand All @@ -59,21 +59,21 @@ jobs:

- name: Initialize the workflow
id: init
uses: microsoft/AL-Go-Actions/WorkflowInitialize@v7.1
uses: microsoft/AL-Go-Actions/WorkflowInitialize@v7.2
with:
shell: pwsh

- name: Read settings
id: ReadSettings
uses: microsoft/AL-Go-Actions/ReadSettings@v7.1
uses: microsoft/AL-Go-Actions/ReadSettings@v7.2
with:
shell: pwsh
get: type,powerPlatformSolutionFolder,useGitSubmodules

- name: Read submodules token
id: ReadSubmodulesToken
if: env.useGitSubmodules != 'false' && env.useGitSubmodules != ''
uses: microsoft/AL-Go-Actions/ReadSecrets@v7.1
uses: microsoft/AL-Go-Actions/ReadSecrets@v7.2
with:
shell: pwsh
gitHubSecrets: ${{ toJson(secrets) }}
Expand All @@ -94,7 +94,7 @@ jobs:

- name: Determine Projects To Build
id: determineProjectsToBuild
uses: microsoft/AL-Go-Actions/DetermineProjectsToBuild@v7.1
uses: microsoft/AL-Go-Actions/DetermineProjectsToBuild@v7.2
with:
shell: pwsh
maxBuildDepth: ${{ env.workflowDepth }}
Expand All @@ -107,23 +107,23 @@ jobs:

- name: Determine Delivery Target Secrets
id: DetermineDeliveryTargetSecrets
uses: microsoft/AL-Go-Actions/DetermineDeliveryTargets@v7.1
uses: microsoft/AL-Go-Actions/DetermineDeliveryTargets@v7.2
with:
shell: pwsh
projectsJson: '${{ steps.determineProjectsToBuild.outputs.ProjectsJson }}'
checkContextSecrets: 'false'

- name: Read secrets
id: ReadSecrets
uses: microsoft/AL-Go-Actions/ReadSecrets@v7.1
uses: microsoft/AL-Go-Actions/ReadSecrets@v7.2
with:
shell: pwsh
gitHubSecrets: ${{ toJson(secrets) }}
getSecrets: ${{ steps.DetermineDeliveryTargetSecrets.outputs.ContextSecrets }}

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

- name: Determine Deployment Environments
id: DetermineDeploymentEnvironments
uses: microsoft/AL-Go-Actions/DetermineDeploymentEnvironments@v7.1
uses: microsoft/AL-Go-Actions/DetermineDeploymentEnvironments@v7.2
env:
GITHUB_TOKEN: ${{ github.token }}
with:
Expand All @@ -149,21 +149,21 @@ jobs:
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Read settings
uses: microsoft/AL-Go-Actions/ReadSettings@v7.1
uses: microsoft/AL-Go-Actions/ReadSettings@v7.2
with:
shell: pwsh
get: templateUrl

- name: Read secrets
id: ReadSecrets
uses: microsoft/AL-Go-Actions/ReadSecrets@v7.1
uses: microsoft/AL-Go-Actions/ReadSecrets@v7.2
with:
shell: pwsh
gitHubSecrets: ${{ toJson(secrets) }}
getSecrets: 'ghTokenWorkflow'

- name: Check for updates to AL-Go system files
uses: microsoft/AL-Go-Actions/CheckForUpdates@v7.1
uses: microsoft/AL-Go-Actions/CheckForUpdates@v7.2
env:
GITHUB_TOKEN: ${{ github.token }}
with:
Expand Down Expand Up @@ -243,7 +243,7 @@ jobs:
path: '.artifacts'

- name: Read settings
uses: microsoft/AL-Go-Actions/ReadSettings@v7.1
uses: microsoft/AL-Go-Actions/ReadSettings@v7.2
with:
shell: pwsh

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

- name: Build Reference Documentation
uses: microsoft/AL-Go-Actions/BuildReferenceDocumentation@v7.1
uses: microsoft/AL-Go-Actions/BuildReferenceDocumentation@v7.2
with:
shell: pwsh
artifacts: '.artifacts'
Expand Down Expand Up @@ -289,7 +289,7 @@ jobs:
path: '.artifacts'

- name: Read settings
uses: microsoft/AL-Go-Actions/ReadSettings@v7.1
uses: microsoft/AL-Go-Actions/ReadSettings@v7.2
with:
shell: ${{ matrix.shell }}
get: type,powerPlatformSolutionFolder
Expand All @@ -303,15 +303,15 @@ jobs:

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

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

- name: Read settings
uses: microsoft/AL-Go-Actions/ReadSettings@v7.1
uses: microsoft/AL-Go-Actions/ReadSettings@v7.2
with:
shell: pwsh

- name: Read secrets
id: ReadSecrets
uses: microsoft/AL-Go-Actions/ReadSecrets@v7.1
uses: microsoft/AL-Go-Actions/ReadSecrets@v7.2
with:
shell: pwsh
gitHubSecrets: ${{ toJson(secrets) }}
getSecrets: '${{ matrix.deliveryTarget }}Context'

- name: Deliver
uses: microsoft/AL-Go-Actions/Deliver@v7.1
uses: microsoft/AL-Go-Actions/Deliver@v7.2
env:
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}'
with:
Expand All @@ -384,7 +384,7 @@ jobs:

- name: Finalize the workflow
id: PostProcess
uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v7.1
uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v7.2
env:
GITHUB_TOKEN: ${{ github.token }}
with:
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/CreateOnlineDevelopmentEnvironment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
telemetryScopeJson: ${{ steps.init.outputs.telemetryScopeJson }}
steps:
- name: Dump Workflow Information
uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v7.1
uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v7.2
with:
shell: pwsh

Expand All @@ -59,19 +59,19 @@ jobs:

- name: Initialize the workflow
id: init
uses: microsoft/AL-Go-Actions/WorkflowInitialize@v7.1
uses: microsoft/AL-Go-Actions/WorkflowInitialize@v7.2
with:
shell: pwsh

- name: Read settings
id: ReadSettings
uses: microsoft/AL-Go-Actions/ReadSettings@v7.1
uses: microsoft/AL-Go-Actions/ReadSettings@v7.2
with:
shell: pwsh

- name: Read secrets
id: ReadSecrets
uses: microsoft/AL-Go-Actions/ReadSecrets@v7.1
uses: microsoft/AL-Go-Actions/ReadSecrets@v7.2
with:
shell: pwsh
gitHubSecrets: ${{ toJson(secrets) }}
Expand All @@ -90,7 +90,7 @@ jobs:
Write-Host "AdminCenterApiCredentials not provided, initiating Device Code flow"
$ALGoHelperPath = "$([System.IO.Path]::GetTempFileName()).ps1"
$webClient = New-Object System.Net.WebClient
$webClient.DownloadFile('https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v7.1/AL-Go-Helper.ps1', $ALGoHelperPath)
$webClient.DownloadFile('https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v7.2/AL-Go-Helper.ps1', $ALGoHelperPath)
. $ALGoHelperPath
DownloadAndImportBcContainerHelper
$authContext = New-BcAuthContext -includeDeviceLogin -deviceLoginTimeout ([TimeSpan]::FromSeconds(0))
Expand All @@ -112,13 +112,13 @@ jobs:
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Read settings
uses: microsoft/AL-Go-Actions/ReadSettings@v7.1
uses: microsoft/AL-Go-Actions/ReadSettings@v7.2
with:
shell: pwsh

- name: Read secrets
id: ReadSecrets
uses: microsoft/AL-Go-Actions/ReadSecrets@v7.1
uses: microsoft/AL-Go-Actions/ReadSecrets@v7.2
with:
shell: pwsh
gitHubSecrets: ${{ toJson(secrets) }}
Expand All @@ -137,7 +137,7 @@ jobs:
Add-Content -Encoding UTF8 -Path $env:GITHUB_OUTPUT -value "adminCenterApiCredentials=$adminCenterApiCredentials"

- name: Create Development Environment
uses: microsoft/AL-Go-Actions/CreateDevelopmentEnvironment@v7.1
uses: microsoft/AL-Go-Actions/CreateDevelopmentEnvironment@v7.2
with:
shell: pwsh
token: ${{ steps.ReadSecrets.outputs.TokenForPush }}
Expand All @@ -149,7 +149,7 @@ jobs:

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