From 21f32ff1e3cc75d77a987caa5274a15aaa9620df Mon Sep 17 00:00:00 2001 From: freddydk Date: Thu, 13 Nov 2025 00:37:25 +0000 Subject: [PATCH] [main@00851bc] Update AL-Go System Files from microsoft/AL-Go-PTE@preview - 8cdcecc --- .AL-Go/cloudDevEnv.ps1 | 117 ++++++++++++++-- .AL-Go/localDevEnv.ps1 | 126 ++++++++++++++++-- .AL-Go/settings.json | 2 +- .github/AL-Go-Settings.json | 4 +- .github/RELEASENOTES.copy.md | 18 ++- .github/Test Current.settings.json | 2 +- .github/Test Next Major.settings.json | 2 +- .github/Test Next Minor.settings.json | 2 +- .../workflows/AddExistingAppOrTestApp.yaml | 12 +- .github/workflows/CICD.yaml | 77 ++++++----- .github/workflows/CreateApp.yaml | 12 +- .../CreateOnlineDevelopmentEnvironment.yaml | 18 +-- .../workflows/CreatePerformanceTestApp.yaml | 12 +- .github/workflows/CreateRelease.yaml | 34 ++--- .github/workflows/CreateTestApp.yaml | 12 +- .github/workflows/Current.yaml | 12 +- .../DeployReferenceDocumentation.yaml | 17 ++- .github/workflows/IncrementVersionNumber.yaml | 14 +- .github/workflows/NextMajor.yaml | 12 +- .github/workflows/NextMinor.yaml | 12 +- .github/workflows/PublishToEnvironment.yaml | 24 ++-- .github/workflows/PullRequestHandler.yaml | 34 ++--- .github/workflows/Troubleshooting.yaml | 2 +- .../workflows/UpdateGitHubGoSystemFiles.yaml | 16 +-- .github/workflows/_BuildALGoProject.yaml | 50 +++---- 25 files changed, 432 insertions(+), 211 deletions(-) diff --git a/.AL-Go/cloudDevEnv.ps1 b/.AL-Go/cloudDevEnv.ps1 index 8a38e39..9fe9017 100644 --- a/.AL-Go/cloudDevEnv.ps1 +++ b/.AL-Go/cloudDevEnv.ps1 @@ -1,13 +1,103 @@ -# -# Script for creating cloud development environment -# Please do not modify this script as it will be auto-updated from the AL-Go Template -# Recommended approach is to use as is or add a script (freddyk-devenv.ps1), which calls this script with the user specific parameters -# +<# +.SYNOPSIS + Creates a cloud-based development environment for Business Central AL development using SaaS Sandbox. + +.DESCRIPTION + This script sets up a cloud-based development environment by: + - Creating a Business Central SaaS Sandbox environment + - Compiling and publishing all apps and test apps to the development scope + - Configuring launch.json for Visual Studio Code with Cloud Sandbox configuration + - Optionally applying custom settings to override repository settings + + The script will prompt you interactively for authentication using device code flow. + For automated/unattended execution, you can configure AdminCenterApiCredentials as a GitHub secret + or in Azure KeyVault. See https://aka.ms/algosettings for more information about AdminCenterApiCredentials. + + This is an alternative to localDevEnv.ps1 for users who cannot run Docker containers locally. + + RECOMMENDED USAGE: + Instead of modifying this script directly (which will be overwritten during AL-Go updates), + create a custom script that calls this one with your preferred parameters. For example, + create a file named after yourself (e.g., 'john-devenv.ps1') that contains: + + # My personal cloud development environment script + $mySettings = '{"country":"us"}' + . .\.AL-Go\cloudDevEnv.ps1 -environmentName "john-sandbox" -reuseExistingEnvironment $true -customSettings $mySettings + + This approach allows you to: + - Maintain your personal preferences without losing them during updates + - Share your setup with team members + - Version control your custom development configurations + - Easily switch between different development scenarios + +.PARAMETER environmentName + The name of the cloud sandbox environment to create or reuse. + If not specified, the script will prompt for input with a default of "{username}-sandbox". + +.PARAMETER reuseExistingEnvironment + Boolean parameter indicating whether to reuse an existing environment with the same name. + If $true, the script will use the existing environment if it exists. + If $false, the script will recreate the environment (deleting the old one if it exists). + If not specified, the script will prompt the user to select the behavior. + +.PARAMETER fromVSCode + Switch parameter indicating the script is being run from Visual Studio Code. + When specified, the script will pause at the end waiting for user input before closing. + +.PARAMETER clean + Switch parameter to create a clean development environment without compiling and publishing apps. + Useful for setting up a fresh environment without deploying any applications. + +.PARAMETER customSettings + JSON string containing custom settings that override repository settings. + These settings have the highest precedence and can be used to override country, + or other configuration without modifying repository files. + +.EXAMPLE + .\cloudDevEnv.ps1 + Runs the script interactively, prompting for all required parameters. + +.EXAMPLE + .\cloudDevEnv.ps1 -environmentName "my-sandbox" -reuseExistingEnvironment $true + Creates or reuses a cloud sandbox named "my-sandbox". + +.EXAMPLE + .\cloudDevEnv.ps1 -clean + Creates a clean cloud development environment without compiling and publishing apps. + +.EXAMPLE + .\cloudDevEnv.ps1 -customSettings '{"country":"dk"}' + Creates a cloud development environment with custom settings for Denmark country. + +.EXAMPLE + # Programmatic setup with custom settings + $envName = "test-sandbox" + $settings = '{"country": "us"}' + + . ./cloudDevEnv.ps1 -environmentName $envName -reuseExistingEnvironment $true -customSettings $settings + + Creates or reuses a cloud development environment with custom country setting. + +.NOTES + - Authentication is handled interactively via device code flow (https://aka.ms/devicelogin) + - For unattended execution, configure AdminCenterApiCredentials secret (see link below) + - Does not require Docker to be installed + - Script automatically downloads required AL-Go helper modules and actions + - Modifies launch.json in VS Code workspace for Cloud Sandbox configuration + - Custom settings parameter allows runtime override of repository settings + - If NewBcContainer.ps1 override exists, cloud development may not be supported + +.LINK + https://aka.ms/algosettings - AL-Go Settings Documentation + https://github.com/microsoft/AL-Go/blob/main/Scenarios/CreateOnlineDevEnv2.md - Online Dev Environment Setup +#> + Param( [string] $environmentName = "", [bool] $reuseExistingEnvironment, [switch] $fromVSCode, - [switch] $clean + [switch] $clean, + [string] $customSettings = "" ) $errorActionPreference = "Stop"; $ProgressPreference = "SilentlyContinue"; Set-StrictMode -Version 2.0 @@ -51,12 +141,12 @@ Write-Host -ForegroundColor Yellow @' $tmpFolder = Join-Path ([System.IO.Path]::GetTempPath()) "$([Guid]::NewGuid().ToString())" New-Item -Path $tmpFolder -ItemType Directory -Force | Out-Null -$GitHubHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go/55f06533726d052e7603277236f2bcbcd67fa6cf/Actions/Github-Helper.psm1' -folder $tmpFolder -notifyAuthenticatedAttempt -$ReadSettingsModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go/55f06533726d052e7603277236f2bcbcd67fa6cf/Actions/.Modules/ReadSettings.psm1' -folder $tmpFolder -$debugLoggingModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go/55f06533726d052e7603277236f2bcbcd67fa6cf/Actions/.Modules/DebugLogHelper.psm1' -folder $tmpFolder -$ALGoHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go/55f06533726d052e7603277236f2bcbcd67fa6cf/Actions/AL-Go-Helper.ps1' -folder $tmpFolder -DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go/55f06533726d052e7603277236f2bcbcd67fa6cf/Actions/.Modules/settings.schema.json' -folder $tmpFolder | Out-Null -DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go/55f06533726d052e7603277236f2bcbcd67fa6cf/Actions/Environment.Packages.proj' -folder $tmpFolder | Out-Null +$GitHubHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go/ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d/Actions/Github-Helper.psm1' -folder $tmpFolder -notifyAuthenticatedAttempt +$ReadSettingsModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go/ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d/Actions/.Modules/ReadSettings.psm1' -folder $tmpFolder +$debugLoggingModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go/ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d/Actions/.Modules/DebugLogHelper.psm1' -folder $tmpFolder +$ALGoHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go/ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d/Actions/AL-Go-Helper.ps1' -folder $tmpFolder +DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go/ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d/Actions/.Modules/settings.schema.json' -folder $tmpFolder | Out-Null +DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go/ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d/Actions/Environment.Packages.proj' -folder $tmpFolder | Out-Null Import-Module $GitHubHelperPath Import-Module $ReadSettingsModule @@ -103,7 +193,8 @@ CreateDevEnv ` -reuseExistingEnvironment:$reuseExistingEnvironment ` -baseFolder $baseFolder ` -project $project ` - -clean:$clean + -clean:$clean ` + -customSettings $customSettings } catch { Write-Host -ForegroundColor Red "Error: $($_.Exception.Message)`nStacktrace: $($_.scriptStackTrace)" diff --git a/.AL-Go/localDevEnv.ps1 b/.AL-Go/localDevEnv.ps1 index 234bb23..d8882c8 100644 --- a/.AL-Go/localDevEnv.ps1 +++ b/.AL-Go/localDevEnv.ps1 @@ -1,8 +1,106 @@ -# -# Script for creating local development environment -# Please do not modify this script as it will be auto-updated from the AL-Go Template -# Recommended approach is to use as is or add a script (freddyk-devenv.ps1), which calls this script with the user specific parameters -# +<# +.SYNOPSIS + Creates a local development environment for Business Central AL development using Docker containers. + +.DESCRIPTION + This script sets up a local development environment by: + - Creating a Business Central container using Docker + - Compiling and publishing all apps and test apps to the development scope + - Configuring launch.json for Visual Studio Code with Local Sandbox configuration + - Optionally applying custom settings to override repository settings + + The script requires Docker to be installed and configured to run Windows containers. + If Docker setup fails, users can alternatively run cloudDevEnv.ps1 for cloud-based development. + + RECOMMENDED USAGE: + Instead of modifying this script directly (which will be overwritten during AL-Go updates), + create a custom script that calls this one with your preferred parameters. For example, + create a file named after yourself (e.g., 'john-devenv.ps1') that contains: + + # My personal development environment script + $mySettings = '{"country":"us","artifact":"////nextminor"}' + . .\.AL-Go\localDevEnv.ps1 -containerName "mydevenv" -auth UserPassword -customSettings $mySettings + + This approach allows you to: + - Maintain your personal preferences without losing them during updates + - Share your setup with team members + - Version control your custom development configurations + - Easily switch between different development scenarios + +.PARAMETER containerName + The name of the Docker container to create. If not specified, the script will prompt for input. + Default prompts for "bcserver" if not provided. + +.PARAMETER auth + Authentication mechanism for the container. Valid values are "UserPassword" or "Windows". + If not specified, the script will prompt the user to select the authentication method. + +.PARAMETER credential + PSCredential object containing username and password for container authentication. + If not provided, the script will prompt for credentials based on the selected auth method. + +.PARAMETER licenseFileUrl + Local path or secure download URL to a Business Central license file. + For AppSource apps targeting BC versions prior to 22, a developer license with object ID permissions is required. + For PTEs, this is optional but can be useful for dependent app object IDs. + Set to "none" to skip license file input. + +.PARAMETER fromVSCode + Switch parameter indicating the script is being run from Visual Studio Code. + When specified, the script will pause at the end waiting for user input before closing. + +.PARAMETER accept_insiderEula + Switch parameter to automatically accept the insider EULA when using Business Central insider builds. + Required when working with insider artifacts. + +.PARAMETER clean + Switch parameter to create a clean development environment without compiling and publishing apps. + Useful for setting up a fresh container without deploying any applications. + +.PARAMETER customSettings + JSON string containing custom settings that override repository settings. + These settings have the highest precedence and can be used to override artifact URLs, + country settings, or other configuration without modifying repository files. + +.EXAMPLE + .\localDevEnv.ps1 + Runs the script interactively, prompting for all required parameters. + +.EXAMPLE + .\localDevEnv.ps1 -containerName "mydevenv" -auth "UserPassword" + Creates a container named "mydevenv" with username/password authentication, prompting for credentials and LicenseFile. + +.EXAMPLE + .\localDevEnv.ps1 -clean + Creates a clean development environment without compiling and publishing apps. + +.EXAMPLE + .\localDevEnv.ps1 -customSettings '{"country":"dk","artifact":"////nextminor"}' + Creates a development environment with custom settings for Denmark country and specific artifact. + +.EXAMPLE + # Programmatic setup with credentials and custom settings + $Username = "SUPER" + $Password = "" + $cred = New-Object System.Management.Automation.PSCredential ($Username, (ConvertTo-SecureString $Password -AsPlainText -Force)) + $containerName = "bcserver" + $settings = '{"artifact": "////nextminor"}' + + . ./localDevEnv.ps1 -containerName $containerName -auth UserPassword -credential $cred -accept_insiderEula -licenseFileUrl "none" -customSettings $settings + + Creates a development environment with predefined credentials, using next minor version artifact, accepting insider EULA, and no license file. + +.NOTES + - Requires Docker Desktop to be installed and running with Windows container support + - For AppSource apps, may require a developer license for BC versions prior to 22 + - Script automatically downloads required AL-Go helper modules and actions + - Modifies launch.json in VS Code workspace for Local Sandbox configuration + - Custom settings parameter allows runtime override of repository settings + +.LINK + https://aka.ms/algosettings - AL-Go Settings Documentation +#> + Param( [string] $containerName = "", [ValidateSet("UserPassword", "Windows")] @@ -11,7 +109,8 @@ Param( [string] $licenseFileUrl = "", [switch] $fromVSCode, [switch] $accept_insiderEula, - [switch] $clean + [switch] $clean, + [string] $customSettings = "" ) $errorActionPreference = "Stop"; $ProgressPreference = "SilentlyContinue"; Set-StrictMode -Version 2.0 @@ -55,12 +154,12 @@ Write-Host -ForegroundColor Yellow @' $tmpFolder = Join-Path ([System.IO.Path]::GetTempPath()) "$([Guid]::NewGuid().ToString())" New-Item -Path $tmpFolder -ItemType Directory -Force | Out-Null -$GitHubHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go/55f06533726d052e7603277236f2bcbcd67fa6cf/Actions/Github-Helper.psm1' -folder $tmpFolder -notifyAuthenticatedAttempt -$ReadSettingsModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go/55f06533726d052e7603277236f2bcbcd67fa6cf/Actions/.Modules/ReadSettings.psm1' -folder $tmpFolder -$debugLoggingModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go/55f06533726d052e7603277236f2bcbcd67fa6cf/Actions/.Modules/DebugLogHelper.psm1' -folder $tmpFolder -$ALGoHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go/55f06533726d052e7603277236f2bcbcd67fa6cf/Actions/AL-Go-Helper.ps1' -folder $tmpFolder -DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go/55f06533726d052e7603277236f2bcbcd67fa6cf/Actions/.Modules/settings.schema.json' -folder $tmpFolder | Out-Null -DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go/55f06533726d052e7603277236f2bcbcd67fa6cf/Actions/Environment.Packages.proj' -folder $tmpFolder | Out-Null +$GitHubHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go/ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d/Actions/Github-Helper.psm1' -folder $tmpFolder -notifyAuthenticatedAttempt +$ReadSettingsModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go/ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d/Actions/.Modules/ReadSettings.psm1' -folder $tmpFolder +$debugLoggingModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go/ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d/Actions/.Modules/DebugLogHelper.psm1' -folder $tmpFolder +$ALGoHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go/ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d/Actions/AL-Go-Helper.ps1' -folder $tmpFolder +DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go/ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d/Actions/.Modules/settings.schema.json' -folder $tmpFolder | Out-Null +DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go/ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d/Actions/Environment.Packages.proj' -folder $tmpFolder | Out-Null Import-Module $GitHubHelperPath Import-Module $ReadSettingsModule @@ -160,7 +259,8 @@ CreateDevEnv ` -credential $credential ` -licenseFileUrl $licenseFileUrl ` -accept_insiderEula:$accept_insiderEula ` - -clean:$clean + -clean:$clean ` + -customSettings $customSettings } catch { Write-Host -ForegroundColor Red "Error: $($_.Exception.Message)`nStacktrace: $($_.scriptStackTrace)" diff --git a/.AL-Go/settings.json b/.AL-Go/settings.json index 86c67ab..46fceed 100644 --- a/.AL-Go/settings.json +++ b/.AL-Go/settings.json @@ -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/ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d/Actions/.Modules/settings.schema.json", "country": "us", "VersioningStrategy": 16, "appFolders": [ diff --git a/.github/AL-Go-Settings.json b/.github/AL-Go-Settings.json index ba19e9f..1d8c270 100644 --- a/.github/AL-Go-Settings.json +++ b/.github/AL-Go-Settings.json @@ -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/ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d/Actions/.Modules/settings.schema.json", "type": "PTE", "templateUrl": "https://github.com/microsoft/AL-Go-PTE@preview", "conditionalSettings": [ @@ -25,5 +25,5 @@ }, "doNotSignApps": true, "keyVaultCodesignCertificateName": "FreddyKristiansen", - "templateSha": "cb1099b0e43feda0a5b7a10e106fdf936002898e" + "templateSha": "8cdcecce69d888c287260b71c0922c2970126b1e" } diff --git a/.github/RELEASENOTES.copy.md b/.github/RELEASENOTES.copy.md index 4d757eb..58e0346 100644 --- a/.github/RELEASENOTES.copy.md +++ b/.github/RELEASENOTES.copy.md @@ -2,6 +2,15 @@ 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. +### Issues + +- Issue 1961 KeyVault access in PR pipeline +- Discussion 1911 Add support for reportSuppressedDiagnostics +- Discussion 1968 Parameter for settings passed to CreateDevEnv +- Issue 1945 Deploy Reference Documentation fails for CI/CD + +## v8.0 + ### Mechanism to overwrite complex settings type By default, AL-Go merges settings from various places (see [settings levels](https://aka.ms/algosettings#where-are-the-settings-located)). Basic setting types such as `string` and `integer` are overwritten, but settings with complex types such as `array` and `object` are merged. @@ -20,6 +29,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 @@ -912,7 +928,7 @@ Setting the repo setting "runs-on" to "Ubuntu-latest", followed by running Updat ### Issues - Issue #143 Commit Message for **Increment Version Number** workflow -- Issue #160 Create local DevEnv aith appDependencyProbingPaths +- Issue #160 Create local DevEnv with appDependencyProbingPaths - Issue #156 Versioningstrategy 2 doesn't use 24h format - Issue #155 Initial Add existing app fails with "Cannot find path" - Issue #152 Error when loading dependencies from releases diff --git a/.github/Test Current.settings.json b/.github/Test Current.settings.json index 5b8d889..5377b7b 100644 --- a/.github/Test Current.settings.json +++ b/.github/Test Current.settings.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/microsoft/AL-Go/55f06533726d052e7603277236f2bcbcd67fa6cf/Actions/settings.schema.json", + "$schema": "https://raw.githubusercontent.com/microsoft/AL-Go/ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d/Actions/.Modules/settings.schema.json", "artifact": "////latest", "cacheImageName": "", "versioningStrategy": 15, diff --git a/.github/Test Next Major.settings.json b/.github/Test Next Major.settings.json index 85b30b7..fc805c6 100644 --- a/.github/Test Next Major.settings.json +++ b/.github/Test Next Major.settings.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/microsoft/AL-Go/55f06533726d052e7603277236f2bcbcd67fa6cf/Actions/settings.schema.json", + "$schema": "https://raw.githubusercontent.com/microsoft/AL-Go/ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d/Actions/.Modules/settings.schema.json", "artifact": "////nextmajor", "cacheImageName": "", "versioningStrategy": 15, diff --git a/.github/Test Next Minor.settings.json b/.github/Test Next Minor.settings.json index 701ecca..065c602 100644 --- a/.github/Test Next Minor.settings.json +++ b/.github/Test Next Minor.settings.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/microsoft/AL-Go/55f06533726d052e7603277236f2bcbcd67fa6cf/Actions/settings.schema.json", + "$schema": "https://raw.githubusercontent.com/microsoft/AL-Go/ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d/Actions/.Modules/settings.schema.json", "artifact": "////nextminor", "cacheImageName": "", "versioningStrategy": 15, diff --git a/.github/workflows/AddExistingAppOrTestApp.yaml b/.github/workflows/AddExistingAppOrTestApp.yaml index fe0bb31..e6faf27 100644 --- a/.github/workflows/AddExistingAppOrTestApp.yaml +++ b/.github/workflows/AddExistingAppOrTestApp.yaml @@ -41,7 +41,7 @@ jobs: runs-on: [ ubuntu-latest ] steps: - name: Dump Workflow Information - uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh @@ -50,18 +50,18 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go/Actions/WorkflowInitialize@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/WorkflowInitialize@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh - name: Read settings - uses: microsoft/AL-Go/Actions/ReadSettings@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/ReadSettings@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go/Actions/ReadSecrets@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/ReadSecrets@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh gitHubSecrets: ${{ toJson(secrets) }} @@ -69,7 +69,7 @@ jobs: useGhTokenWorkflowForPush: '${{ github.event.inputs.useGhTokenWorkflow }}' - name: Add existing app - uses: microsoft/AL-Go/Actions/AddExistingApp@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/AddExistingApp@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh token: ${{ steps.ReadSecrets.outputs.TokenForPush }} @@ -79,7 +79,7 @@ jobs: - name: Finalize the workflow if: always() - uses: microsoft/AL-Go/Actions/WorkflowPostProcess@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/WorkflowPostProcess@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/CICD.yaml b/.github/workflows/CICD.yaml index a851e6b..9b1c3d7 100644 --- a/.github/workflows/CICD.yaml +++ b/.github/workflows/CICD.yaml @@ -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@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh @@ -61,27 +61,27 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go/Actions/WorkflowInitialize@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/WorkflowInitialize@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh - name: Read settings id: ReadSettings - uses: microsoft/AL-Go/Actions/ReadSettings@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/ReadSettings@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh - 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@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh gitHubSecrets: ${{ toJson(secrets) }} @@ -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@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh maxBuildDepth: ${{ env.workflowDepth }} @@ -115,7 +115,7 @@ jobs: - name: Determine Delivery Target Secrets id: DetermineDeliveryTargetSecrets - uses: microsoft/AL-Go/Actions/DetermineDeliveryTargets@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/DetermineDeliveryTargets@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh projectsJson: '${{ steps.determineProjectsToBuild.outputs.ProjectsJson }}' @@ -123,7 +123,7 @@ jobs: - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go/Actions/ReadSecrets@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/ReadSecrets@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh gitHubSecrets: ${{ toJson(secrets) }} @@ -131,7 +131,7 @@ jobs: - name: Determine Delivery Targets id: DetermineDeliveryTargets - uses: microsoft/AL-Go/Actions/DetermineDeliveryTargets@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/DetermineDeliveryTargets@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d env: Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' with: @@ -141,7 +141,7 @@ jobs: - name: Determine Deployment Environments id: DetermineDeploymentEnvironments - uses: microsoft/AL-Go/Actions/DetermineDeploymentEnvironments@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/DetermineDeploymentEnvironments@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d env: GITHUB_TOKEN: ${{ github.token }} with: @@ -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@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh get: templateUrl - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go/Actions/ReadSecrets@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/ReadSecrets@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh 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@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d env: GITHUB_TOKEN: ${{ github.token }} with: @@ -207,7 +207,7 @@ jobs: CodeAnalysisUpload: needs: [ Initialization, Build ] - if: (!cancelled()) && (needs.Initialization.outputs.trackALAlertsInGithub == 'True') + if: (!cancelled()) && (needs.Initialization.outputs.trackALAlertsInGitHub == 'True') runs-on: [ ubuntu-latest ] name: Code Analysis Processing steps: @@ -215,23 +215,23 @@ jobs: uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 - name: Download artifacts - ErrorLogs - uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0 + uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0 if: (success() || failure()) 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@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh - name: Upload SARIF file to GitHub - uses: github/codeql-action/upload-sarif@v3 - if: always() + uses: github/codeql-action/upload-sarif@v4 + if: (success() || failure()) && (hashFiles(format('{0}/ErrorLogs/output.sarif.json',github.workspace)) != '') with: sarif_file: '${{ github.workspace }}/ErrorLogs/output.sarif.json' category: "ALCodeAnalysis" @@ -254,12 +254,18 @@ jobs: uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 - name: Download artifacts - uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0 + uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0 with: path: '.artifacts' - name: Read settings - uses: microsoft/AL-Go/Actions/ReadSettings@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/ReadSettings@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d + with: + shell: pwsh + + - name: Determine ArtifactUrl + id: determineArtifactUrl + uses: microsoft/AL-Go/Actions/DetermineArtifactUrl@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh @@ -268,10 +274,11 @@ 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@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh artifacts: '.artifacts' + artifactUrl: ${{ env.artifact }} - name: Upload pages artifact uses: actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b # v4.0.0 @@ -303,12 +310,12 @@ jobs: uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 - name: Download artifacts - uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0 + uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0 with: path: '.artifacts' - name: Read settings - uses: microsoft/AL-Go/Actions/ReadSettings@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/ReadSettings@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: ${{ matrix.shell }} get: type,powerPlatformSolutionFolder @@ -322,7 +329,7 @@ jobs: - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go/Actions/ReadSecrets@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/ReadSecrets@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: ${{ matrix.shell }} gitHubSecrets: ${{ toJson(secrets) }} @@ -330,7 +337,7 @@ jobs: - name: Deploy to Business Central id: Deploy - uses: microsoft/AL-Go/Actions/Deploy@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/Deploy@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d env: Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' with: @@ -342,7 +349,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@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d env: Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' with: @@ -365,25 +372,25 @@ jobs: uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 - name: Download artifacts - uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0 + uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0 with: path: '.artifacts' - name: Read settings - uses: microsoft/AL-Go/Actions/ReadSettings@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/ReadSettings@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go/Actions/ReadSecrets@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/ReadSecrets@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh gitHubSecrets: ${{ toJson(secrets) }} getSecrets: '${{ matrix.deliveryTarget }}Context' - name: Deliver - uses: microsoft/AL-Go/Actions/Deliver@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/Deliver@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d env: Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' with: @@ -403,7 +410,7 @@ jobs: - name: Finalize the workflow id: PostProcess - uses: microsoft/AL-Go/Actions/WorkflowPostProcess@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/WorkflowPostProcess@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/CreateApp.yaml b/.github/workflows/CreateApp.yaml index e470cda..112b0dd 100644 --- a/.github/workflows/CreateApp.yaml +++ b/.github/workflows/CreateApp.yaml @@ -51,7 +51,7 @@ jobs: runs-on: [ ubuntu-latest ] steps: - name: Dump Workflow Information - uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh @@ -60,19 +60,19 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go/Actions/WorkflowInitialize@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/WorkflowInitialize@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh - name: Read settings - uses: microsoft/AL-Go/Actions/ReadSettings@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/ReadSettings@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh get: type - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go/Actions/ReadSecrets@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/ReadSecrets@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh gitHubSecrets: ${{ toJson(secrets) }} @@ -80,7 +80,7 @@ jobs: useGhTokenWorkflowForPush: '${{ github.event.inputs.useGhTokenWorkflow }}' - name: Creating a new app - uses: microsoft/AL-Go/Actions/CreateApp@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/CreateApp@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh token: ${{ steps.ReadSecrets.outputs.TokenForPush }} @@ -94,7 +94,7 @@ jobs: - name: Finalize the workflow if: always() - uses: microsoft/AL-Go/Actions/WorkflowPostProcess@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/WorkflowPostProcess@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/CreateOnlineDevelopmentEnvironment.yaml b/.github/workflows/CreateOnlineDevelopmentEnvironment.yaml index 18eec3e..3f96086 100644 --- a/.github/workflows/CreateOnlineDevelopmentEnvironment.yaml +++ b/.github/workflows/CreateOnlineDevelopmentEnvironment.yaml @@ -50,7 +50,7 @@ jobs: telemetryScopeJson: ${{ steps.init.outputs.telemetryScopeJson }} steps: - name: Dump Workflow Information - uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh @@ -59,19 +59,19 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go/Actions/WorkflowInitialize@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/WorkflowInitialize@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh - name: Read settings id: ReadSettings - uses: microsoft/AL-Go/Actions/ReadSettings@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/ReadSettings@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go/Actions/ReadSecrets@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/ReadSecrets@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh gitHubSecrets: ${{ toJson(secrets) }} @@ -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/55f06533726d052e7603277236f2bcbcd67fa6cf/Actions/AL-Go-Helper.ps1', $ALGoHelperPath) + $webClient.DownloadFile('https://raw.githubusercontent.com/microsoft/AL-Go/ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d/Actions/AL-Go-Helper.ps1', $ALGoHelperPath) . $ALGoHelperPath DownloadAndImportBcContainerHelper $authContext = New-BcAuthContext -includeDeviceLogin -deviceLoginTimeout ([TimeSpan]::FromSeconds(0)) @@ -112,13 +112,13 @@ jobs: uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 - name: Read settings - uses: microsoft/AL-Go/Actions/ReadSettings@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/ReadSettings@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go/Actions/ReadSecrets@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/ReadSecrets@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh gitHubSecrets: ${{ toJson(secrets) }} @@ -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@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/CreateDevelopmentEnvironment@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh token: ${{ steps.ReadSecrets.outputs.TokenForPush }} @@ -149,7 +149,7 @@ jobs: - name: Finalize the workflow if: always() - uses: microsoft/AL-Go/Actions/WorkflowPostProcess@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/WorkflowPostProcess@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/CreatePerformanceTestApp.yaml b/.github/workflows/CreatePerformanceTestApp.yaml index 8141ab4..3e17829 100644 --- a/.github/workflows/CreatePerformanceTestApp.yaml +++ b/.github/workflows/CreatePerformanceTestApp.yaml @@ -57,7 +57,7 @@ jobs: runs-on: [ ubuntu-latest ] steps: - name: Dump Workflow Information - uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh @@ -66,18 +66,18 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go/Actions/WorkflowInitialize@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/WorkflowInitialize@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh - name: Read settings - uses: microsoft/AL-Go/Actions/ReadSettings@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/ReadSettings@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go/Actions/ReadSecrets@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/ReadSecrets@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh gitHubSecrets: ${{ toJson(secrets) }} @@ -85,7 +85,7 @@ jobs: useGhTokenWorkflowForPush: '${{ github.event.inputs.useGhTokenWorkflow }}' - name: Creating a new test app - uses: microsoft/AL-Go/Actions/CreateApp@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/CreateApp@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh token: ${{ steps.ReadSecrets.outputs.TokenForPush }} @@ -100,7 +100,7 @@ jobs: - name: Finalize the workflow if: always() - uses: microsoft/AL-Go/Actions/WorkflowPostProcess@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/WorkflowPostProcess@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/CreateRelease.yaml b/.github/workflows/CreateRelease.yaml index 2a51175..274485b 100644 --- a/.github/workflows/CreateRelease.yaml +++ b/.github/workflows/CreateRelease.yaml @@ -78,7 +78,7 @@ jobs: telemetryScopeJson: ${{ steps.init.outputs.telemetryScopeJson }} steps: - name: Dump Workflow Information - uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh @@ -87,26 +87,26 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go/Actions/WorkflowInitialize@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/WorkflowInitialize@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh - name: Read settings id: ReadSettings - uses: microsoft/AL-Go/Actions/ReadSettings@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/ReadSettings@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh get: templateUrl,repoName,type,powerPlatformSolutionFolder - name: Validate Workflow Input if: ${{ github.event_name == 'workflow_dispatch' }} - uses: microsoft/AL-Go/Actions/ValidateWorkflowInput@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/ValidateWorkflowInput@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go/Actions/ReadSecrets@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/ReadSecrets@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh gitHubSecrets: ${{ toJson(secrets) }} @@ -115,12 +115,12 @@ jobs: - name: Determine Projects id: determineProjects - uses: microsoft/AL-Go/Actions/DetermineProjectsToBuild@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/DetermineProjectsToBuild@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh - name: Check for updates to AL-Go system files - uses: microsoft/AL-Go/Actions/CheckForUpdates@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/CheckForUpdates@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d env: GITHUB_TOKEN: ${{ github.token }} with: @@ -130,7 +130,7 @@ jobs: downloadLatest: true - name: Determine artifacts for release - uses: microsoft/AL-Go/Actions/DetermineArtifactsForRelease@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/DetermineArtifactsForRelease@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d id: determineArtifactsForRelease with: shell: pwsh @@ -141,7 +141,7 @@ jobs: - name: Prepare release notes id: createreleasenotes - uses: microsoft/AL-Go/Actions/CreateReleaseNotes@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/CreateReleaseNotes@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh buildVersion: ${{ github.event.inputs.buildVersion }} @@ -190,13 +190,13 @@ jobs: uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 - name: Read settings - uses: microsoft/AL-Go/Actions/ReadSettings@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/ReadSettings@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go/Actions/ReadSecrets@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/ReadSecrets@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh gitHubSecrets: ${{ toJson(secrets) }} @@ -240,7 +240,7 @@ jobs: }); - name: Deliver to NuGet - uses: microsoft/AL-Go/Actions/Deliver@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/Deliver@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d if: ${{ fromJson(steps.ReadSecrets.outputs.Secrets).nuGetContext != '' }} env: Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' @@ -253,7 +253,7 @@ jobs: atypes: 'Apps,TestApps' - name: Deliver to Storage - uses: microsoft/AL-Go/Actions/Deliver@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/Deliver@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d if: ${{ fromJson(steps.ReadSecrets.outputs.Secrets).storageContext != '' }} env: Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' @@ -297,13 +297,13 @@ jobs: uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 - name: Read settings - uses: microsoft/AL-Go/Actions/ReadSettings@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/ReadSettings@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go/Actions/ReadSecrets@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/ReadSecrets@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh gitHubSecrets: ${{ toJson(secrets) }} @@ -311,7 +311,7 @@ jobs: useGhTokenWorkflowForPush: '${{ github.event.inputs.useGhTokenWorkflow }}' - name: Update Version Number - uses: microsoft/AL-Go/Actions/IncrementVersionNumber@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/IncrementVersionNumber@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh token: ${{ steps.ReadSecrets.outputs.TokenForPush }} @@ -329,7 +329,7 @@ jobs: - name: Finalize the workflow id: PostProcess - uses: microsoft/AL-Go/Actions/WorkflowPostProcess@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/WorkflowPostProcess@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/CreateTestApp.yaml b/.github/workflows/CreateTestApp.yaml index a50bd6d..da5ba1c 100644 --- a/.github/workflows/CreateTestApp.yaml +++ b/.github/workflows/CreateTestApp.yaml @@ -53,7 +53,7 @@ jobs: runs-on: [ ubuntu-latest ] steps: - name: Dump Workflow Information - uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh @@ -62,18 +62,18 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go/Actions/WorkflowInitialize@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/WorkflowInitialize@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh - name: Read settings - uses: microsoft/AL-Go/Actions/ReadSettings@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/ReadSettings@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go/Actions/ReadSecrets@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/ReadSecrets@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh gitHubSecrets: ${{ toJson(secrets) }} @@ -81,7 +81,7 @@ jobs: useGhTokenWorkflowForPush: '${{ github.event.inputs.useGhTokenWorkflow }}' - name: Creating a new test app - uses: microsoft/AL-Go/Actions/CreateApp@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/CreateApp@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh token: ${{ steps.ReadSecrets.outputs.TokenForPush }} @@ -95,7 +95,7 @@ jobs: - name: Finalize the workflow if: always() - uses: microsoft/AL-Go/Actions/WorkflowPostProcess@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/WorkflowPostProcess@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/Current.yaml b/.github/workflows/Current.yaml index a495703..a7bb92e 100644 --- a/.github/workflows/Current.yaml +++ b/.github/workflows/Current.yaml @@ -32,7 +32,7 @@ jobs: telemetryScopeJson: ${{ steps.init.outputs.telemetryScopeJson }} steps: - name: Dump Workflow Information - uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh @@ -43,13 +43,13 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go/Actions/WorkflowInitialize@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/WorkflowInitialize@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh - name: Read settings id: ReadSettings - uses: microsoft/AL-Go/Actions/ReadSettings@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/ReadSettings@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh get: useGitSubmodules,shortLivedArtifactsRetentionDays @@ -57,7 +57,7 @@ jobs: - 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@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh gitHubSecrets: ${{ toJson(secrets) }} @@ -79,7 +79,7 @@ jobs: - name: Determine Projects To Build id: determineProjectsToBuild - uses: microsoft/AL-Go/Actions/DetermineProjectsToBuild@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/DetermineProjectsToBuild@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh maxBuildDepth: ${{ env.workflowDepth }} @@ -116,7 +116,7 @@ jobs: - name: Finalize the workflow id: PostProcess - uses: microsoft/AL-Go/Actions/WorkflowPostProcess@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/WorkflowPostProcess@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/DeployReferenceDocumentation.yaml b/.github/workflows/DeployReferenceDocumentation.yaml index 2df318d..ce42186 100644 --- a/.github/workflows/DeployReferenceDocumentation.yaml +++ b/.github/workflows/DeployReferenceDocumentation.yaml @@ -30,18 +30,24 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go/Actions/WorkflowInitialize@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/WorkflowInitialize@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh - name: Read settings - uses: microsoft/AL-Go/Actions/ReadSettings@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/ReadSettings@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d + with: + shell: pwsh + + - name: Determine ArtifactUrl + id: determineArtifactUrl + uses: microsoft/AL-Go/Actions/DetermineArtifactUrl@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh - name: Determine Deployment Environments id: DetermineDeploymentEnvironments - uses: microsoft/AL-Go/Actions/DetermineDeploymentEnvironments@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/DetermineDeploymentEnvironments@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d env: GITHUB_TOKEN: ${{ github.token }} with: @@ -54,10 +60,11 @@ 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@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh artifacts: 'latest' + artifactUrl: ${{ env.artifact }} - name: Upload pages artifact uses: actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b # v4.0.0 @@ -71,7 +78,7 @@ jobs: - name: Finalize the workflow if: always() - uses: microsoft/AL-Go/Actions/WorkflowPostProcess@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/WorkflowPostProcess@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/IncrementVersionNumber.yaml b/.github/workflows/IncrementVersionNumber.yaml index faeb33f..a9ef576 100644 --- a/.github/workflows/IncrementVersionNumber.yaml +++ b/.github/workflows/IncrementVersionNumber.yaml @@ -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@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh @@ -57,24 +57,24 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go/Actions/WorkflowInitialize@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/WorkflowInitialize@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh - name: Read settings - uses: microsoft/AL-Go/Actions/ReadSettings@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/ReadSettings@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh - name: Validate Workflow Input if: ${{ github.event_name == 'workflow_dispatch' }} - uses: microsoft/AL-Go/Actions/ValidateWorkflowInput@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/ValidateWorkflowInput@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go/Actions/ReadSecrets@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/ReadSecrets@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh gitHubSecrets: ${{ toJson(secrets) }} @@ -82,7 +82,7 @@ jobs: useGhTokenWorkflowForPush: '${{ github.event.inputs.useGhTokenWorkflow }}' - name: Increment Version Number - uses: microsoft/AL-Go/Actions/IncrementVersionNumber@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/IncrementVersionNumber@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh token: ${{ steps.ReadSecrets.outputs.TokenForPush }} @@ -93,7 +93,7 @@ jobs: - name: Finalize the workflow if: always() - uses: microsoft/AL-Go/Actions/WorkflowPostProcess@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/WorkflowPostProcess@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/NextMajor.yaml b/.github/workflows/NextMajor.yaml index c9817fc..5136764 100644 --- a/.github/workflows/NextMajor.yaml +++ b/.github/workflows/NextMajor.yaml @@ -32,7 +32,7 @@ jobs: telemetryScopeJson: ${{ steps.init.outputs.telemetryScopeJson }} steps: - name: Dump Workflow Information - uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh @@ -43,13 +43,13 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go/Actions/WorkflowInitialize@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/WorkflowInitialize@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh - name: Read settings id: ReadSettings - uses: microsoft/AL-Go/Actions/ReadSettings@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/ReadSettings@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh get: useGitSubmodules,shortLivedArtifactsRetentionDays @@ -57,7 +57,7 @@ jobs: - 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@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh gitHubSecrets: ${{ toJson(secrets) }} @@ -79,7 +79,7 @@ jobs: - name: Determine Projects To Build id: determineProjectsToBuild - uses: microsoft/AL-Go/Actions/DetermineProjectsToBuild@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/DetermineProjectsToBuild@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh maxBuildDepth: ${{ env.workflowDepth }} @@ -116,7 +116,7 @@ jobs: - name: Finalize the workflow id: PostProcess - uses: microsoft/AL-Go/Actions/WorkflowPostProcess@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/WorkflowPostProcess@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/NextMinor.yaml b/.github/workflows/NextMinor.yaml index 8f1022d..4cfed30 100644 --- a/.github/workflows/NextMinor.yaml +++ b/.github/workflows/NextMinor.yaml @@ -32,7 +32,7 @@ jobs: telemetryScopeJson: ${{ steps.init.outputs.telemetryScopeJson }} steps: - name: Dump Workflow Information - uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh @@ -43,13 +43,13 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go/Actions/WorkflowInitialize@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/WorkflowInitialize@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh - name: Read settings id: ReadSettings - uses: microsoft/AL-Go/Actions/ReadSettings@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/ReadSettings@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh get: useGitSubmodules,shortLivedArtifactsRetentionDays @@ -57,7 +57,7 @@ jobs: - 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@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh gitHubSecrets: ${{ toJson(secrets) }} @@ -79,7 +79,7 @@ jobs: - name: Determine Projects To Build id: determineProjectsToBuild - uses: microsoft/AL-Go/Actions/DetermineProjectsToBuild@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/DetermineProjectsToBuild@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh maxBuildDepth: ${{ env.workflowDepth }} @@ -116,7 +116,7 @@ jobs: - name: Finalize the workflow id: PostProcess - uses: microsoft/AL-Go/Actions/WorkflowPostProcess@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/WorkflowPostProcess@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/PublishToEnvironment.yaml b/.github/workflows/PublishToEnvironment.yaml index 952451e..dbd585d 100644 --- a/.github/workflows/PublishToEnvironment.yaml +++ b/.github/workflows/PublishToEnvironment.yaml @@ -38,7 +38,7 @@ jobs: telemetryScopeJson: ${{ steps.init.outputs.telemetryScopeJson }} steps: - name: Dump Workflow Information - uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh @@ -47,19 +47,19 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go/Actions/WorkflowInitialize@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/WorkflowInitialize@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh - name: Read settings id: ReadSettings - uses: microsoft/AL-Go/Actions/ReadSettings@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/ReadSettings@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh - name: Determine Deployment Environments id: DetermineDeploymentEnvironments - uses: microsoft/AL-Go/Actions/DetermineDeploymentEnvironments@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/DetermineDeploymentEnvironments@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d env: GITHUB_TOKEN: ${{ github.token }} with: @@ -77,7 +77,7 @@ jobs: - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go/Actions/ReadSecrets@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/ReadSecrets@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d if: steps.DetermineDeploymentEnvironments.outputs.UnknownEnvironment == 1 with: shell: pwsh @@ -109,7 +109,7 @@ jobs: Write-Host "No AuthContext provided for $envName, 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/55f06533726d052e7603277236f2bcbcd67fa6cf/Actions/AL-Go-Helper.ps1', $ALGoHelperPath) + $webClient.DownloadFile('https://raw.githubusercontent.com/microsoft/AL-Go/ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d/Actions/AL-Go-Helper.ps1', $ALGoHelperPath) . $ALGoHelperPath DownloadAndImportBcContainerHelper $authContext = New-BcAuthContext -includeDeviceLogin -deviceLoginTimeout ([TimeSpan]::FromSeconds(0)) @@ -145,21 +145,21 @@ jobs: Add-Content -Encoding UTF8 -Path $env:GITHUB_OUTPUT -Value "envName=$envName" - name: Read settings - uses: microsoft/AL-Go/Actions/ReadSettings@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/ReadSettings@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: ${{ matrix.shell }} get: type,powerPlatformSolutionFolder - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go/Actions/ReadSecrets@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/ReadSecrets@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: ${{ matrix.shell }} gitHubSecrets: ${{ toJson(secrets) }} getSecrets: '${{ steps.envName.outputs.envName }}-AuthContext,${{ steps.envName.outputs.envName }}_AuthContext,AuthContext' - name: Get Artifacts for deployment - uses: microsoft/AL-Go/Actions/GetArtifactsForDeployment@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/GetArtifactsForDeployment@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: ${{ matrix.shell }} artifactsVersion: ${{ github.event.inputs.appVersion }} @@ -167,7 +167,7 @@ jobs: - name: Deploy to Business Central id: Deploy - uses: microsoft/AL-Go/Actions/Deploy@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/Deploy@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d env: Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' with: @@ -180,7 +180,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@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d env: Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' with: @@ -199,7 +199,7 @@ jobs: - name: Finalize the workflow id: PostProcess - uses: microsoft/AL-Go/Actions/WorkflowPostProcess@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/WorkflowPostProcess@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/PullRequestHandler.yaml b/.github/workflows/PullRequestHandler.yaml index 5da05d1..178855a 100644 --- a/.github/workflows/PullRequestHandler.yaml +++ b/.github/workflows/PullRequestHandler.yaml @@ -29,7 +29,7 @@ jobs: if: (github.event.pull_request.base.repo.full_name != github.event.pull_request.head.repo.full_name) && (github.event_name != 'pull_request') runs-on: windows-latest steps: - - uses: microsoft/AL-Go/Actions/VerifyPRChanges@55f06533726d052e7603277236f2bcbcd67fa6cf + - uses: microsoft/AL-Go/Actions/VerifyPRChanges@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d Initialization: needs: [ PregateCheck ] @@ -44,10 +44,10 @@ jobs: workflowDepth: ${{ steps.DetermineWorkflowDepth.outputs.WorkflowDepth }} artifactsRetentionDays: ${{ steps.DetermineWorkflowDepth.outputs.ArtifactsRetentionDays }} telemetryScopeJson: ${{ steps.init.outputs.telemetryScopeJson }} - 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@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh @@ -59,22 +59,22 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go/Actions/WorkflowInitialize@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/WorkflowInitialize@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh - name: Read settings id: ReadSettings - uses: microsoft/AL-Go/Actions/ReadSettings@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/ReadSettings@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh - get: shortLivedArtifactsRetentionDays,trackALAlertsInGithub + get: shortLivedArtifactsRetentionDays,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: Determine Workflow Depth id: DetermineWorkflowDepth @@ -84,7 +84,7 @@ jobs: - name: Determine Projects To Build id: determineProjectsToBuild - uses: microsoft/AL-Go/Actions/DetermineProjectsToBuild@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/DetermineProjectsToBuild@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh maxBuildDepth: ${{ env.workflowDepth }} @@ -117,7 +117,7 @@ jobs: CodeAnalysisUpload: needs: [ Initialization, Build ] - if: (!cancelled()) && (needs.Initialization.outputs.trackALAlertsInGithub == 'True') + if: (!cancelled()) && (needs.Initialization.outputs.trackALAlertsInGitHub == 'True') runs-on: [ ubuntu-latest ] name: Code Analysis Processing steps: @@ -127,23 +127,23 @@ jobs: ref: ${{ format('refs/pull/{0}/head', github.event.pull_request.number) }} - name: Download artifacts - ErrorLogs - uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0 + uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0 if: (success() || failure()) 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@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh - name: Upload SARIF file to GitHub - uses: github/codeql-action/upload-sarif@v3 - if: always() + uses: github/codeql-action/upload-sarif@v4 + if: (success() || failure()) && (hashFiles(format('{0}/ErrorLogs/output.sarif.json',github.workspace)) != '') with: sarif_file: '${{ github.workspace }}/ErrorLogs/output.sarif.json' category: "ALCodeAnalysis" @@ -158,7 +158,7 @@ jobs: steps: - name: Pull Request Status Check id: PullRequestStatusCheck - uses: microsoft/AL-Go/Actions/PullRequestStatusCheck@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/PullRequestStatusCheck@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d env: GITHUB_TOKEN: ${{ github.token }} with: @@ -166,7 +166,7 @@ jobs: - name: Finalize the workflow id: PostProcess - uses: microsoft/AL-Go/Actions/WorkflowPostProcess@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/WorkflowPostProcess@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d if: success() || failure() env: GITHUB_TOKEN: ${{ github.token }} diff --git a/.github/workflows/Troubleshooting.yaml b/.github/workflows/Troubleshooting.yaml index a27b35d..c31a0c1 100644 --- a/.github/workflows/Troubleshooting.yaml +++ b/.github/workflows/Troubleshooting.yaml @@ -30,7 +30,7 @@ jobs: lfs: true - name: Troubleshooting - uses: microsoft/AL-Go/Actions/Troubleshooting@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/Troubleshooting@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh gitHubSecrets: ${{ toJson(secrets) }} diff --git a/.github/workflows/UpdateGitHubGoSystemFiles.yaml b/.github/workflows/UpdateGitHubGoSystemFiles.yaml index bd40b34..cce82eb 100644 --- a/.github/workflows/UpdateGitHubGoSystemFiles.yaml +++ b/.github/workflows/UpdateGitHubGoSystemFiles.yaml @@ -48,14 +48,14 @@ jobs: - name: Read settings id: ReadSettings - uses: microsoft/AL-Go/Actions/ReadSettings@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/ReadSettings@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh get: templateUrl - name: Get Workflow Multi-Run Branches id: GetBranches - uses: microsoft/AL-Go/Actions/GetWorkflowMultiRunBranches@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/GetWorkflowMultiRunBranches@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh includeBranches: ${{ github.event.inputs.includeBranches }} @@ -84,7 +84,7 @@ jobs: steps: - name: Dump Workflow Information - uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh @@ -95,19 +95,19 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go/Actions/WorkflowInitialize@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/WorkflowInitialize@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh - name: Read settings - uses: microsoft/AL-Go/Actions/ReadSettings@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/ReadSettings@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh get: commitOptions - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go/Actions/ReadSecrets@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/ReadSecrets@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: pwsh gitHubSecrets: ${{ toJson(secrets) }} @@ -134,7 +134,7 @@ jobs: Add-Content -Encoding UTF8 -Path $env:GITHUB_ENV -Value "downloadLatest=$downloadLatest" - name: Update AL-Go system files - uses: microsoft/AL-Go/Actions/CheckForUpdates@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/CheckForUpdates@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d env: GITHUB_TOKEN: ${{ github.token }} with: @@ -148,7 +148,7 @@ jobs: - name: Finalize the workflow if: always() - uses: microsoft/AL-Go/Actions/WorkflowPostProcess@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/WorkflowPostProcess@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/_BuildALGoProject.yaml b/.github/workflows/_BuildALGoProject.yaml index a3559a5..3a3857a 100644 --- a/.github/workflows/_BuildALGoProject.yaml +++ b/.github/workflows/_BuildALGoProject.yaml @@ -103,16 +103,16 @@ jobs: lfs: true - name: Read settings - uses: microsoft/AL-Go/Actions/ReadSettings@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/ReadSettings@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: ${{ inputs.shell }} project: ${{ inputs.project }} buildMode: ${{ inputs.buildMode }} - get: useCompilerFolder,keyVaultCodesignCertificateName,doNotSignApps,doNotRunTests,doNotRunBcptTests,doNotRunpageScriptingTests,artifact,generateDependencyArtifact,trustedSigning,useGitSubmodules,trackALAlertsInGithub + get: useCompilerFolder,keyVaultCodesignCertificateName,doNotSignApps,doNotRunTests,doNotRunBcptTests,doNotRunpageScriptingTests,artifact,generateDependencyArtifact,trustedSigning,useGitSubmodules,trackALAlertsInGitHub - name: Determine whether to build project id: DetermineBuildProject - uses: microsoft/AL-Go/Actions/DetermineBuildProject@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/DetermineBuildProject@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: ${{ inputs.shell }} skippedProjectsJson: ${{ inputs.skippedProjectsJson }} @@ -122,7 +122,7 @@ jobs: - name: Read secrets id: ReadSecrets if: steps.DetermineBuildProject.outputs.BuildIt == 'True' && github.event_name != 'pull_request' - uses: microsoft/AL-Go/Actions/ReadSecrets@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/ReadSecrets@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: ${{ inputs.shell }} gitHubSecrets: ${{ toJson(secrets) }} @@ -140,14 +140,14 @@ jobs: - name: Determine ArtifactUrl id: determineArtifactUrl if: steps.DetermineBuildProject.outputs.BuildIt == 'True' - uses: microsoft/AL-Go/Actions/DetermineArtifactUrl@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/DetermineArtifactUrl@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: ${{ inputs.shell }} project: ${{ inputs.project }} - name: Cache Business Central Artifacts if: steps.DetermineBuildProject.outputs.BuildIt == 'True' && env.useCompilerFolder == 'True' && inputs.useArtifactCache && env.artifactCacheKey - uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4 + uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: path: ${{ runner.temp }}/.artifactcache key: ${{ env.artifactCacheKey }} @@ -155,7 +155,7 @@ jobs: - name: Download Project Dependencies id: DownloadProjectDependencies if: steps.DetermineBuildProject.outputs.BuildIt == 'True' - uses: microsoft/AL-Go/Actions/DownloadProjectDependencies@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/DownloadProjectDependencies@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d env: Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' with: @@ -166,7 +166,7 @@ jobs: baselineWorkflowRunId: ${{ inputs.baselineWorkflowRunId }} - name: Build - uses: microsoft/AL-Go/Actions/RunPipeline@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/RunPipeline@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d if: steps.DetermineBuildProject.outputs.BuildIt == 'True' env: Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' @@ -185,7 +185,7 @@ jobs: - name: Sign id: sign if: steps.DetermineBuildProject.outputs.BuildIt == 'True' && inputs.signArtifacts && env.doNotSignApps == 'False' && (env.keyVaultCodesignCertificateName != '' || (fromJson(env.trustedSigning).Endpoint != '' && fromJson(env.trustedSigning).Account != '' && fromJson(env.trustedSigning).CertificateProfile != '')) - uses: microsoft/AL-Go/Actions/Sign@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/Sign@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: ${{ inputs.shell }} azureCredentialsJson: '${{ fromJson(steps.ReadSecrets.outputs.Secrets).AZURE_CREDENTIALS }}' @@ -193,7 +193,7 @@ jobs: - name: Calculate Artifact names id: calculateArtifactsNames - uses: microsoft/AL-Go/Actions/CalculateArtifactNames@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/CalculateArtifactNames@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d if: success() || failure() with: shell: ${{ inputs.shell }} @@ -202,7 +202,7 @@ jobs: suffix: ${{ inputs.artifactsNameSuffix }} - name: Publish artifacts - apps - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 if: inputs.artifactsRetentionDays >= 0 && (hashFiles(format('{0}/.buildartifacts/Apps/*',inputs.project)) != '') with: name: ${{ steps.calculateArtifactsNames.outputs.AppsArtifactsName }} @@ -211,7 +211,7 @@ jobs: retention-days: ${{ inputs.artifactsRetentionDays }} - name: Publish artifacts - dependencies - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 if: inputs.artifactsRetentionDays >= 0 && env.generateDependencyArtifact == 'True' && (hashFiles(format('{0}/.buildartifacts/Dependencies/*',inputs.project)) != '') with: name: ${{ steps.calculateArtifactsNames.outputs.DependenciesArtifactsName }} @@ -220,7 +220,7 @@ jobs: retention-days: ${{ inputs.artifactsRetentionDays }} - name: Publish artifacts - test apps - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 if: inputs.artifactsRetentionDays >= 0 && (hashFiles(format('{0}/.buildartifacts/TestApps/*',inputs.project)) != '') with: name: ${{ steps.calculateArtifactsNames.outputs.TestAppsArtifactsName }} @@ -229,7 +229,7 @@ jobs: retention-days: ${{ inputs.artifactsRetentionDays }} - name: Publish artifacts - build output - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 if: (success() || failure()) && (hashFiles(format('{0}/BuildOutput.txt',inputs.project)) != '') with: name: ${{ steps.calculateArtifactsNames.outputs.BuildOutputArtifactsName }} @@ -237,7 +237,7 @@ jobs: if-no-files-found: ignore - name: Publish artifacts - container event log - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 if: (failure()) && (hashFiles(format('{0}/ContainerEventLog.evtx',inputs.project)) != '') with: name: ${{ steps.calculateArtifactsNames.outputs.ContainerEventLogArtifactsName }} @@ -245,7 +245,7 @@ jobs: if-no-files-found: ignore - name: Publish artifacts - test results - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 if: (success() || failure()) && (hashFiles(format('{0}/.buildartifacts/TestResults.xml',inputs.project)) != '') with: name: ${{ steps.calculateArtifactsNames.outputs.TestResultsArtifactsName }} @@ -253,7 +253,7 @@ jobs: if-no-files-found: ignore - name: Publish artifacts - bcpt test results - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 if: (success() || failure()) && (hashFiles(format('{0}/.buildartifacts/bcptTestResults.json',inputs.project)) != '') with: name: ${{ steps.calculateArtifactsNames.outputs.BcptTestResultsArtifactsName }} @@ -261,7 +261,7 @@ jobs: if-no-files-found: ignore - name: Publish artifacts - page scripting test results - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 if: (success() || failure()) && (hashFiles(format('{0}/.buildartifacts/PageScriptingTestResults.xml',inputs.project)) != '') with: name: ${{ steps.calculateArtifactsNames.outputs.PageScriptingTestResultsArtifactsName }} @@ -269,7 +269,7 @@ jobs: if-no-files-found: ignore - name: Publish artifacts - page scripting test result details - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 if: (success() || failure()) && (hashFiles(format('{0}/.buildartifacts/PageScriptingTestResultDetails/*',inputs.project)) != '') with: name: ${{ steps.calculateArtifactsNames.outputs.PageScriptingTestResultDetailsArtifactsName }} @@ -277,8 +277,8 @@ jobs: if-no-files-found: ignore - name: Publish artifacts - ErrorLogs - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 - if: inputs.artifactsRetentionDays >= 0 && (hashFiles(format('{0}/.buildartifacts/ErrorLogs/*',inputs.project)) != '') && env.trackALAlertsInGithub == 'True' + uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + if: inputs.artifactsRetentionDays >= 0 && (hashFiles(format('{0}/.buildartifacts/ErrorLogs/*',inputs.project)) != '') && env.trackALAlertsInGitHub == 'True' with: name: ${{ steps.calculateArtifactsNames.outputs.ErrorLogsArtifactsName }} path: '${{ inputs.project }}/.buildartifacts/ErrorLogs/' @@ -288,7 +288,7 @@ jobs: - name: Analyze Test Results id: analyzeTestResults if: (success() || failure()) && env.doNotRunTests == 'False' - uses: microsoft/AL-Go/Actions/AnalyzeTests@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/AnalyzeTests@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: ${{ inputs.shell }} project: ${{ inputs.project }} @@ -297,7 +297,7 @@ jobs: - name: Analyze BCPT Test Results id: analyzeTestResultsBCPT if: (success() || failure()) && env.doNotRunBcptTests == 'False' - uses: microsoft/AL-Go/Actions/AnalyzeTests@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/AnalyzeTests@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: ${{ inputs.shell }} project: ${{ inputs.project }} @@ -306,7 +306,7 @@ jobs: - name: Analyze Page Scripting Test Results id: analyzeTestResultsPageScripting if: (success() || failure()) && env.doNotRunpageScriptingTests == 'False' - uses: microsoft/AL-Go/Actions/AnalyzeTests@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/AnalyzeTests@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: ${{ inputs.shell }} project: ${{ inputs.project }} @@ -314,7 +314,7 @@ jobs: - name: Cleanup if: always() && steps.DetermineBuildProject.outputs.BuildIt == 'True' - uses: microsoft/AL-Go/Actions/PipelineCleanup@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go/Actions/PipelineCleanup@ecbbde1e146bc26fa6e7aef790bcafe87e72ab2d with: shell: ${{ inputs.shell }} project: ${{ inputs.project }}