From b280b3f1a7992a01ef013be1c4b93ca795dc1af9 Mon Sep 17 00:00:00 2001 From: freddydk Date: Thu, 16 Oct 2025 00:35:15 +0000 Subject: [PATCH] [main@00851bc] Update AL-Go System Files from microsoft/AL-Go-PTE@preview - 041d3b7 --- .AL-Go/cloudDevEnv.ps1 | 12 ++-- .AL-Go/localDevEnv.ps1 | 12 ++-- .AL-Go/settings.json | 2 +- .github/AL-Go-Settings.json | 4 +- .github/RELEASENOTES.copy.md | 11 +++- .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 | 62 +++++++++---------- .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 | 10 +-- .github/workflows/IncrementVersionNumber.yaml | 14 ++--- .github/workflows/NextMajor.yaml | 12 ++-- .github/workflows/NextMinor.yaml | 12 ++-- .github/workflows/PublishToEnvironment.yaml | 24 +++---- .github/workflows/PullRequestHandler.yaml | 32 +++++----- .github/workflows/Troubleshooting.yaml | 2 +- .../workflows/UpdateGitHubGoSystemFiles.yaml | 16 ++--- .github/workflows/_BuildALGoProject.yaml | 30 ++++----- 25 files changed, 189 insertions(+), 184 deletions(-) diff --git a/.AL-Go/cloudDevEnv.ps1 b/.AL-Go/cloudDevEnv.ps1 index 8a38e39..53f7e9d 100644 --- a/.AL-Go/cloudDevEnv.ps1 +++ b/.AL-Go/cloudDevEnv.ps1 @@ -51,12 +51,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-Actions/v8.0/Github-Helper.psm1' -folder $tmpFolder -notifyAuthenticatedAttempt +$ReadSettingsModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.0/.Modules/ReadSettings.psm1' -folder $tmpFolder +$debugLoggingModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.0/.Modules/DebugLogHelper.psm1' -folder $tmpFolder +$ALGoHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.0/AL-Go-Helper.ps1' -folder $tmpFolder +DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.0/.Modules/settings.schema.json' -folder $tmpFolder | Out-Null +DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.0/Environment.Packages.proj' -folder $tmpFolder | Out-Null Import-Module $GitHubHelperPath Import-Module $ReadSettingsModule diff --git a/.AL-Go/localDevEnv.ps1 b/.AL-Go/localDevEnv.ps1 index 234bb23..a567789 100644 --- a/.AL-Go/localDevEnv.ps1 +++ b/.AL-Go/localDevEnv.ps1 @@ -55,12 +55,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-Actions/v8.0/Github-Helper.psm1' -folder $tmpFolder -notifyAuthenticatedAttempt +$ReadSettingsModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.0/.Modules/ReadSettings.psm1' -folder $tmpFolder +$debugLoggingModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.0/.Modules/DebugLogHelper.psm1' -folder $tmpFolder +$ALGoHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.0/AL-Go-Helper.ps1' -folder $tmpFolder +DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.0/.Modules/settings.schema.json' -folder $tmpFolder | Out-Null +DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.0/Environment.Packages.proj' -folder $tmpFolder | Out-Null Import-Module $GitHubHelperPath Import-Module $ReadSettingsModule diff --git a/.AL-Go/settings.json b/.AL-Go/settings.json index 86c67ab..6f517c8 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-Actions/v8.0/.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..8bcc71b 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-Actions/v8.0/.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": "041d3b78959d149432f17249e1e06d83d02a8c32" } diff --git a/.github/RELEASENOTES.copy.md b/.github/RELEASENOTES.copy.md index 4d757eb..66dbf7a 100644 --- a/.github/RELEASENOTES.copy.md +++ b/.github/RELEASENOTES.copy.md @@ -1,6 +1,4 @@ -## preview - -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. +## v8.0 ### Mechanism to overwrite complex settings type @@ -20,6 +18,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 diff --git a/.github/Test Current.settings.json b/.github/Test Current.settings.json index 5b8d889..7b6e29d 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-Actions/v8.0/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..55bccda 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-Actions/v8.0/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..136adcd 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-Actions/v8.0/settings.schema.json", "artifact": "////nextminor", "cacheImageName": "", "versioningStrategy": 15, diff --git a/.github/workflows/AddExistingAppOrTestApp.yaml b/.github/workflows/AddExistingAppOrTestApp.yaml index fe0bb31..3b769cc 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@v8.0 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@v8.0 with: shell: pwsh - name: Read settings - uses: microsoft/AL-Go/Actions/ReadSettings@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go-Actions/ReadSettings@v8.0 with: shell: pwsh - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go/Actions/ReadSecrets@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go-Actions/ReadSecrets@v8.0 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@v8.0 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@v8.0 env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/CICD.yaml b/.github/workflows/CICD.yaml index a851e6b..b9b4fff 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@v8.0 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@v8.0 with: shell: pwsh - name: Read settings id: ReadSettings - uses: microsoft/AL-Go/Actions/ReadSettings@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go-Actions/ReadSettings@v8.0 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@v8.0 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@v8.0 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@v8.0 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@v8.0 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@v8.0 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@v8.0 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@v8.0 with: shell: pwsh get: templateUrl - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go/Actions/ReadSecrets@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go-Actions/ReadSecrets@v8.0 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@v8.0 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: @@ -220,18 +220,18 @@ jobs: with: pattern: '*-ErrorLogs-*' path: '${{ github.workspace }}/ErrorLogs/' - merge_multiple: true + merge-multiple: true - name: Process AL Code Analysis Logs id: ProcessALCodeAnalysisLogs if: (success() || failure()) - uses: microsoft/AL-Go/Actions/ProcessALCodeAnalysisLogs@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go-Actions/ProcessALCodeAnalysisLogs@v8.0 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" @@ -259,7 +259,7 @@ jobs: path: '.artifacts' - name: Read settings - uses: microsoft/AL-Go/Actions/ReadSettings@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go-Actions/ReadSettings@v8.0 with: shell: pwsh @@ -268,7 +268,7 @@ jobs: uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0 - name: Build Reference Documentation - uses: microsoft/AL-Go/Actions/BuildReferenceDocumentation@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go-Actions/BuildReferenceDocumentation@v8.0 with: shell: pwsh artifacts: '.artifacts' @@ -308,7 +308,7 @@ jobs: path: '.artifacts' - name: Read settings - uses: microsoft/AL-Go/Actions/ReadSettings@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go-Actions/ReadSettings@v8.0 with: shell: ${{ matrix.shell }} get: type,powerPlatformSolutionFolder @@ -322,7 +322,7 @@ jobs: - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go/Actions/ReadSecrets@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go-Actions/ReadSecrets@v8.0 with: shell: ${{ matrix.shell }} gitHubSecrets: ${{ toJson(secrets) }} @@ -330,7 +330,7 @@ jobs: - name: Deploy to Business Central id: Deploy - uses: microsoft/AL-Go/Actions/Deploy@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go-Actions/Deploy@v8.0 env: Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' with: @@ -342,7 +342,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@v8.0 env: Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' with: @@ -370,20 +370,20 @@ jobs: path: '.artifacts' - name: Read settings - uses: microsoft/AL-Go/Actions/ReadSettings@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go-Actions/ReadSettings@v8.0 with: shell: pwsh - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go/Actions/ReadSecrets@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go-Actions/ReadSecrets@v8.0 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@v8.0 env: Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' with: @@ -403,7 +403,7 @@ jobs: - name: Finalize the workflow id: PostProcess - uses: microsoft/AL-Go/Actions/WorkflowPostProcess@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v8.0 env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/CreateApp.yaml b/.github/workflows/CreateApp.yaml index e470cda..21bb59e 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@v8.0 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@v8.0 with: shell: pwsh - name: Read settings - uses: microsoft/AL-Go/Actions/ReadSettings@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go-Actions/ReadSettings@v8.0 with: shell: pwsh get: type - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go/Actions/ReadSecrets@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go-Actions/ReadSecrets@v8.0 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@v8.0 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@v8.0 env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/CreateOnlineDevelopmentEnvironment.yaml b/.github/workflows/CreateOnlineDevelopmentEnvironment.yaml index 18eec3e..cf98c24 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@v8.0 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@v8.0 with: shell: pwsh - name: Read settings id: ReadSettings - uses: microsoft/AL-Go/Actions/ReadSettings@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go-Actions/ReadSettings@v8.0 with: shell: pwsh - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go/Actions/ReadSecrets@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go-Actions/ReadSecrets@v8.0 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-Actions/v8.0/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@v8.0 with: shell: pwsh - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go/Actions/ReadSecrets@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go-Actions/ReadSecrets@v8.0 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@v8.0 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@v8.0 env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/CreatePerformanceTestApp.yaml b/.github/workflows/CreatePerformanceTestApp.yaml index 8141ab4..7d5aa27 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@v8.0 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@v8.0 with: shell: pwsh - name: Read settings - uses: microsoft/AL-Go/Actions/ReadSettings@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go-Actions/ReadSettings@v8.0 with: shell: pwsh - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go/Actions/ReadSecrets@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go-Actions/ReadSecrets@v8.0 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@v8.0 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@v8.0 env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/CreateRelease.yaml b/.github/workflows/CreateRelease.yaml index 2a51175..0200b52 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@v8.0 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@v8.0 with: shell: pwsh - name: Read settings id: ReadSettings - uses: microsoft/AL-Go/Actions/ReadSettings@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go-Actions/ReadSettings@v8.0 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@v8.0 with: shell: pwsh - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go/Actions/ReadSecrets@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go-Actions/ReadSecrets@v8.0 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@v8.0 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@v8.0 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@v8.0 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@v8.0 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@v8.0 with: shell: pwsh - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go/Actions/ReadSecrets@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go-Actions/ReadSecrets@v8.0 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@v8.0 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@v8.0 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@v8.0 with: shell: pwsh - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go/Actions/ReadSecrets@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go-Actions/ReadSecrets@v8.0 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@v8.0 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@v8.0 env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/CreateTestApp.yaml b/.github/workflows/CreateTestApp.yaml index a50bd6d..710a551 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@v8.0 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@v8.0 with: shell: pwsh - name: Read settings - uses: microsoft/AL-Go/Actions/ReadSettings@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go-Actions/ReadSettings@v8.0 with: shell: pwsh - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go/Actions/ReadSecrets@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go-Actions/ReadSecrets@v8.0 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@v8.0 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@v8.0 env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/Current.yaml b/.github/workflows/Current.yaml index a495703..d85a540 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@v8.0 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@v8.0 with: shell: pwsh - name: Read settings id: ReadSettings - uses: microsoft/AL-Go/Actions/ReadSettings@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go-Actions/ReadSettings@v8.0 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@v8.0 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@v8.0 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@v8.0 env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/DeployReferenceDocumentation.yaml b/.github/workflows/DeployReferenceDocumentation.yaml index 2df318d..7f7b7f5 100644 --- a/.github/workflows/DeployReferenceDocumentation.yaml +++ b/.github/workflows/DeployReferenceDocumentation.yaml @@ -30,18 +30,18 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go/Actions/WorkflowInitialize@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go-Actions/WorkflowInitialize@v8.0 with: shell: pwsh - name: Read settings - uses: microsoft/AL-Go/Actions/ReadSettings@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go-Actions/ReadSettings@v8.0 with: shell: pwsh - name: Determine Deployment Environments id: DetermineDeploymentEnvironments - uses: microsoft/AL-Go/Actions/DetermineDeploymentEnvironments@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go-Actions/DetermineDeploymentEnvironments@v8.0 env: GITHUB_TOKEN: ${{ github.token }} with: @@ -54,7 +54,7 @@ jobs: uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0 - name: Build Reference Documentation - uses: microsoft/AL-Go/Actions/BuildReferenceDocumentation@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go-Actions/BuildReferenceDocumentation@v8.0 with: shell: pwsh artifacts: 'latest' @@ -71,7 +71,7 @@ jobs: - name: Finalize the workflow if: always() - uses: microsoft/AL-Go/Actions/WorkflowPostProcess@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v8.0 env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/IncrementVersionNumber.yaml b/.github/workflows/IncrementVersionNumber.yaml index faeb33f..eecb1ab 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@v8.0 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@v8.0 with: shell: pwsh - name: Read settings - uses: microsoft/AL-Go/Actions/ReadSettings@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go-Actions/ReadSettings@v8.0 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@v8.0 with: shell: pwsh - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go/Actions/ReadSecrets@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go-Actions/ReadSecrets@v8.0 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@v8.0 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@v8.0 env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/NextMajor.yaml b/.github/workflows/NextMajor.yaml index c9817fc..3b5a58c 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@v8.0 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@v8.0 with: shell: pwsh - name: Read settings id: ReadSettings - uses: microsoft/AL-Go/Actions/ReadSettings@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go-Actions/ReadSettings@v8.0 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@v8.0 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@v8.0 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@v8.0 env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/NextMinor.yaml b/.github/workflows/NextMinor.yaml index 8f1022d..084933f 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@v8.0 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@v8.0 with: shell: pwsh - name: Read settings id: ReadSettings - uses: microsoft/AL-Go/Actions/ReadSettings@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go-Actions/ReadSettings@v8.0 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@v8.0 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@v8.0 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@v8.0 env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/PublishToEnvironment.yaml b/.github/workflows/PublishToEnvironment.yaml index 952451e..485bc07 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@v8.0 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@v8.0 with: shell: pwsh - name: Read settings id: ReadSettings - uses: microsoft/AL-Go/Actions/ReadSettings@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go-Actions/ReadSettings@v8.0 with: shell: pwsh - name: Determine Deployment Environments id: DetermineDeploymentEnvironments - uses: microsoft/AL-Go/Actions/DetermineDeploymentEnvironments@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go-Actions/DetermineDeploymentEnvironments@v8.0 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@v8.0 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-Actions/v8.0/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@v8.0 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@v8.0 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@v8.0 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@v8.0 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@v8.0 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@v8.0 env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/PullRequestHandler.yaml b/.github/workflows/PullRequestHandler.yaml index 5da05d1..1e11f93 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@v8.0 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@v8.0 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@v8.0 with: shell: pwsh - name: Read settings id: ReadSettings - uses: microsoft/AL-Go/Actions/ReadSettings@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go-Actions/ReadSettings@v8.0 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@v8.0 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: @@ -132,18 +132,18 @@ jobs: with: pattern: '*-ErrorLogs-*' path: '${{ github.workspace }}/ErrorLogs/' - merge_multiple: true + merge-multiple: true - name: Process AL Code Analysis Logs id: ProcessALCodeAnalysisLogs if: (success() || failure()) - uses: microsoft/AL-Go/Actions/ProcessALCodeAnalysisLogs@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go-Actions/ProcessALCodeAnalysisLogs@v8.0 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@v8.0 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@v8.0 if: success() || failure() env: GITHUB_TOKEN: ${{ github.token }} diff --git a/.github/workflows/Troubleshooting.yaml b/.github/workflows/Troubleshooting.yaml index a27b35d..3034c03 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@v8.0 with: shell: pwsh gitHubSecrets: ${{ toJson(secrets) }} diff --git a/.github/workflows/UpdateGitHubGoSystemFiles.yaml b/.github/workflows/UpdateGitHubGoSystemFiles.yaml index bd40b34..7533ffd 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@v8.0 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@v8.0 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@v8.0 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@v8.0 with: shell: pwsh - name: Read settings - uses: microsoft/AL-Go/Actions/ReadSettings@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go-Actions/ReadSettings@v8.0 with: shell: pwsh get: commitOptions - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go/Actions/ReadSecrets@55f06533726d052e7603277236f2bcbcd67fa6cf + uses: microsoft/AL-Go-Actions/ReadSecrets@v8.0 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@v8.0 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@v8.0 env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/_BuildALGoProject.yaml b/.github/workflows/_BuildALGoProject.yaml index a3559a5..e2018f7 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@v8.0 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@v8.0 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@v8.0 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@v8.0 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@v8.0 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@v8.0 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@v8.0 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@v8.0 if: success() || failure() with: shell: ${{ inputs.shell }} @@ -278,7 +278,7 @@ jobs: - 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' + 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@v8.0 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@v8.0 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@v8.0 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@v8.0 with: shell: ${{ inputs.shell }} project: ${{ inputs.project }}