From 201fcf77d6b08b11baa6ac529c4b6d913675b00a Mon Sep 17 00:00:00 2001 From: mazhelez Date: Thu, 26 Feb 2026 10:41:22 +0000 Subject: [PATCH] [main@bcee2b5] Update AL-Go System Files from microsoft/AL-Go-AppSource@preview - e5b1051 --- .github/.agents/algo-settings.agent.md | 9 ++++ .github/AL-Go-Settings.json | 4 +- .github/RELEASENOTES.copy.md | 21 +++++++- .github/Test Current.settings.json | 2 +- .github/Test Next Major.settings.json | 2 +- .github/Test Next Minor.settings.json | 2 +- .github/workflows/CICD.yaml | 48 +++++++++---------- .../CreateOnlineDevelopmentEnvironment.yaml | 18 +++---- .github/workflows/CreateRelease.yaml | 34 ++++++------- .github/workflows/Current.yaml | 12 ++--- .../DeployReferenceDocumentation.yaml | 12 ++--- .github/workflows/IncrementVersionNumber.yaml | 14 +++--- .github/workflows/NextMajor.yaml | 12 ++--- .github/workflows/NextMinor.yaml | 12 ++--- .github/workflows/PublishToAppSource.yaml | 12 ++--- .github/workflows/PublishToEnvironment.yaml | 25 +++++----- .github/workflows/PullRequestHandler.yaml | 16 +++---- .github/workflows/Troubleshooting.yaml | 2 +- .../workflows/UpdateGitHubGoSystemFiles.yaml | 16 +++---- .github/workflows/_BuildALGoProject.yaml | 28 +++++------ Library Apps/.AL-Go/cloudDevEnv.ps1 | 12 ++--- Library Apps/.AL-Go/localDevEnv.ps1 | 12 ++--- Library Apps/.AL-Go/settings.json | 2 +- Main App/.AL-Go/cloudDevEnv.ps1 | 12 ++--- Main App/.AL-Go/localDevEnv.ps1 | 12 ++--- Main App/.AL-Go/settings.json | 2 +- 26 files changed, 190 insertions(+), 163 deletions(-) create mode 100644 .github/.agents/algo-settings.agent.md diff --git a/.github/.agents/algo-settings.agent.md b/.github/.agents/algo-settings.agent.md new file mode 100644 index 0000000..cb82eb6 --- /dev/null +++ b/.github/.agents/algo-settings.agent.md @@ -0,0 +1,9 @@ +# AL-Go Copilot instructions + +AL-Go for GitHub controls its features using various different settings. + +When asked about settings for AL-Go, you can find the available settings and description of them at this location: https://github.com/microsoft/AL-Go/blob/main/Scenarios/settings.md, which you should read to understand what settings to suggest. + +For additional inforomation about AL-Go, you should read the 'RELEASENOTES.copy.md' file. + +When applying new settings, you should apply them to the file "AL-Go-Settings.json" diff --git a/.github/AL-Go-Settings.json b/.github/AL-Go-Settings.json index 952675b..62b6c9b 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/924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a/Actions/.Modules/settings.schema.json", + "$schema": "https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.3/.Modules/settings.schema.json", "type": "AppSource App", "templateUrl": "https://github.com/microsoft/AL-Go-AppSource@preview", "runs-on": "ubuntu-latest", @@ -25,6 +25,6 @@ "CertificateProfile": "BCCodeSigningPublic" }, "trackALAlertsInGitHub": true, - "templateSha": "72a58221eda801ef92d4fd8dead7647bf62d9101", + "templateSha": "e5b105154dab6b338bec152060bf3daf9db06280", "PullRequestTrigger": "pull_request" } diff --git a/.github/RELEASENOTES.copy.md b/.github/RELEASENOTES.copy.md index 6afaf8c..f370db7 100644 --- a/.github/RELEASENOTES.copy.md +++ b/.github/RELEASENOTES.copy.md @@ -1,6 +1,23 @@ -## preview +## v8.3 -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 2107 Publish a specific build mode to an environment +- Issue 1915 CICD fails on releases/26.x branch - '26.x' cannot be recognized as a semantic version string + +### The default pull request trigger is changing + +AL-Go for GitHub is transitioning from the pull_request_target trigger to the more secure pull_request trigger. This is a step we are taking to make AL-Go for GitHub more secure by default. If you are used to working from branches within the repository you may not notice any difference. If you get pull requests from forks, those pull requests will no longer be able to access secrets. If that is blocking for your repository, you will need to update your settings to use the pull_request_target trigger. + +**How do I revert back to pull_request_target?** + +Add the following setting to one of your settings files and run the Update AL-Go System Files workflow: + +```json + "pullRequestTrigger": "pull_request_target" +``` + +## v8.2 ### Issues diff --git a/.github/Test Current.settings.json b/.github/Test Current.settings.json index 5c99b9c..641125c 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/924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a/Actions/.Modules/settings.schema.json", + "$schema": "https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.3/.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 1f9c0f9..440eedf 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/924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a/Actions/.Modules/settings.schema.json", + "$schema": "https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.3/.Modules/settings.schema.json", "artifact": "////nextmajor/{INSIDERSASTOKEN}", "cacheImageName": "", "versioningStrategy": 15, diff --git a/.github/Test Next Minor.settings.json b/.github/Test Next Minor.settings.json index 35e9da2..583de4a 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/924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a/Actions/.Modules/settings.schema.json", + "$schema": "https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.3/.Modules/settings.schema.json", "artifact": "////nextminor/{INSIDERSASTOKEN}", "cacheImageName": "", "versioningStrategy": 15, diff --git a/.github/workflows/CICD.yaml b/.github/workflows/CICD.yaml index 58867fa..a5e6613 100644 --- a/.github/workflows/CICD.yaml +++ b/.github/workflows/CICD.yaml @@ -51,7 +51,7 @@ jobs: trackALAlertsInGitHub: ${{ steps.SetALCodeAnalysisVar.outputs.trackALAlertsInGitHub }} steps: - name: Dump Workflow Information - uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v8.3 with: shell: pwsh @@ -62,13 +62,13 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go/Actions/WorkflowInitialize@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/WorkflowInitialize@v8.3 with: shell: pwsh - name: Read settings id: ReadSettings - uses: microsoft/AL-Go/Actions/ReadSettings@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/ReadSettings@v8.3 with: shell: pwsh get: type,powerPlatformSolutionFolder,useGitSubmodules,trackALAlertsInGitHub @@ -82,7 +82,7 @@ jobs: - name: Read submodules token id: ReadSubmodulesToken if: env.useGitSubmodules != 'false' && env.useGitSubmodules != '' - uses: microsoft/AL-Go/Actions/ReadSecrets@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/ReadSecrets@v8.3 with: shell: pwsh gitHubSecrets: ${{ toJson(secrets) }} @@ -103,7 +103,7 @@ jobs: - name: Determine Projects To Build id: determineProjectsToBuild - uses: microsoft/AL-Go/Actions/DetermineProjectsToBuild@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/DetermineProjectsToBuild@v8.3 with: shell: pwsh maxBuildDepth: ${{ env.workflowDepth }} @@ -116,7 +116,7 @@ jobs: - name: Determine Delivery Target Secrets id: DetermineDeliveryTargetSecrets - uses: microsoft/AL-Go/Actions/DetermineDeliveryTargets@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/DetermineDeliveryTargets@v8.3 with: shell: pwsh projectsJson: '${{ steps.determineProjectsToBuild.outputs.ProjectsJson }}' @@ -124,7 +124,7 @@ jobs: - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go/Actions/ReadSecrets@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/ReadSecrets@v8.3 with: shell: pwsh gitHubSecrets: ${{ toJson(secrets) }} @@ -132,7 +132,7 @@ jobs: - name: Determine Delivery Targets id: DetermineDeliveryTargets - uses: microsoft/AL-Go/Actions/DetermineDeliveryTargets@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/DetermineDeliveryTargets@v8.3 env: Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' with: @@ -142,7 +142,7 @@ jobs: - name: Determine Deployment Environments id: DetermineDeploymentEnvironments - uses: microsoft/AL-Go/Actions/DetermineDeploymentEnvironments@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/DetermineDeploymentEnvironments@v8.3 env: GITHUB_TOKEN: ${{ github.token }} with: @@ -158,21 +158,21 @@ jobs: uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - name: Read settings - uses: microsoft/AL-Go/Actions/ReadSettings@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/ReadSettings@v8.3 with: shell: pwsh get: templateUrl - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go/Actions/ReadSecrets@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/ReadSecrets@v8.3 with: shell: pwsh gitHubSecrets: ${{ toJson(secrets) }} getSecrets: 'ghTokenWorkflow' - name: Check for updates to AL-Go system files - uses: microsoft/AL-Go/Actions/CheckForUpdates@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/CheckForUpdates@v8.3 env: GITHUB_TOKEN: ${{ github.token }} with: @@ -251,7 +251,7 @@ jobs: - name: Process AL Code Analysis Logs id: ProcessALCodeAnalysisLogs if: (success() || failure()) - uses: microsoft/AL-Go/Actions/ProcessALCodeAnalysisLogs@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/ProcessALCodeAnalysisLogs@v8.3 with: shell: pwsh @@ -285,13 +285,13 @@ jobs: path: '.artifacts' - name: Read settings - uses: microsoft/AL-Go/Actions/ReadSettings@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/ReadSettings@v8.3 with: shell: pwsh - name: Determine ArtifactUrl id: determineArtifactUrl - uses: microsoft/AL-Go/Actions/DetermineArtifactUrl@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/DetermineArtifactUrl@v8.3 with: shell: pwsh @@ -300,7 +300,7 @@ jobs: uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0 - name: Build Reference Documentation - uses: microsoft/AL-Go/Actions/BuildReferenceDocumentation@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/BuildReferenceDocumentation@v8.3 with: shell: pwsh artifacts: '.artifacts' @@ -341,7 +341,7 @@ jobs: path: '.artifacts' - name: Read settings - uses: microsoft/AL-Go/Actions/ReadSettings@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/ReadSettings@v8.3 with: shell: ${{ matrix.shell }} get: type,powerPlatformSolutionFolder @@ -355,7 +355,7 @@ jobs: - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go/Actions/ReadSecrets@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/ReadSecrets@v8.3 with: shell: ${{ matrix.shell }} gitHubSecrets: ${{ toJson(secrets) }} @@ -363,7 +363,7 @@ jobs: - name: Deploy to Business Central id: Deploy - uses: microsoft/AL-Go/Actions/Deploy@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/Deploy@v8.3 env: Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' with: @@ -375,7 +375,7 @@ jobs: - name: Deploy to Power Platform if: env.type == 'PTE' && env.powerPlatformSolutionFolder != '' - uses: microsoft/AL-Go/Actions/DeployPowerPlatform@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/DeployPowerPlatform@v8.3 env: Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' with: @@ -403,20 +403,20 @@ jobs: path: '.artifacts' - name: Read settings - uses: microsoft/AL-Go/Actions/ReadSettings@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/ReadSettings@v8.3 with: shell: pwsh - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go/Actions/ReadSecrets@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/ReadSecrets@v8.3 with: shell: pwsh gitHubSecrets: ${{ toJson(secrets) }} getSecrets: '${{ matrix.deliveryTarget }}Context' - name: Deliver - uses: microsoft/AL-Go/Actions/Deliver@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/Deliver@v8.3 env: Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' with: @@ -436,7 +436,7 @@ jobs: - name: Finalize the workflow id: PostProcess - uses: microsoft/AL-Go/Actions/WorkflowPostProcess@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v8.3 env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/CreateOnlineDevelopmentEnvironment.yaml b/.github/workflows/CreateOnlineDevelopmentEnvironment.yaml index 001c570..ccc301a 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@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v8.3 with: shell: pwsh @@ -59,19 +59,19 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go/Actions/WorkflowInitialize@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/WorkflowInitialize@v8.3 with: shell: pwsh - name: Read settings id: ReadSettings - uses: microsoft/AL-Go/Actions/ReadSettings@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/ReadSettings@v8.3 with: shell: pwsh - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go/Actions/ReadSecrets@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/ReadSecrets@v8.3 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/924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a/Actions/AL-Go-Helper.ps1', $ALGoHelperPath) + $webClient.DownloadFile('https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.3/AL-Go-Helper.ps1', $ALGoHelperPath) . $ALGoHelperPath DownloadAndImportBcContainerHelper $authContext = New-BcAuthContext -includeDeviceLogin -deviceLoginTimeout ([TimeSpan]::FromSeconds(0)) @@ -112,13 +112,13 @@ jobs: uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - name: Read settings - uses: microsoft/AL-Go/Actions/ReadSettings@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/ReadSettings@v8.3 with: shell: pwsh - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go/Actions/ReadSecrets@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/ReadSecrets@v8.3 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@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/CreateDevelopmentEnvironment@v8.3 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@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v8.3 env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/CreateRelease.yaml b/.github/workflows/CreateRelease.yaml index 32e405e..989982e 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@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v8.3 with: shell: pwsh @@ -87,26 +87,26 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go/Actions/WorkflowInitialize@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/WorkflowInitialize@v8.3 with: shell: pwsh - name: Read settings id: ReadSettings - uses: microsoft/AL-Go/Actions/ReadSettings@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/ReadSettings@v8.3 with: shell: pwsh get: templateUrl,repoName,type,powerPlatformSolutionFolder - name: Validate Workflow Input if: ${{ github.event_name == 'workflow_dispatch' }} - uses: microsoft/AL-Go/Actions/ValidateWorkflowInput@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/ValidateWorkflowInput@v8.3 with: shell: pwsh - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go/Actions/ReadSecrets@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/ReadSecrets@v8.3 with: shell: pwsh gitHubSecrets: ${{ toJson(secrets) }} @@ -115,12 +115,12 @@ jobs: - name: Determine Projects id: determineProjects - uses: microsoft/AL-Go/Actions/DetermineProjectsToBuild@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/DetermineProjectsToBuild@v8.3 with: shell: pwsh - name: Check for updates to AL-Go system files - uses: microsoft/AL-Go/Actions/CheckForUpdates@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/CheckForUpdates@v8.3 env: GITHUB_TOKEN: ${{ github.token }} with: @@ -130,7 +130,7 @@ jobs: downloadLatest: true - name: Determine artifacts for release - uses: microsoft/AL-Go/Actions/DetermineArtifactsForRelease@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/DetermineArtifactsForRelease@v8.3 id: determineArtifactsForRelease with: shell: pwsh @@ -141,7 +141,7 @@ jobs: - name: Prepare release notes id: createreleasenotes - uses: microsoft/AL-Go/Actions/CreateReleaseNotes@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/CreateReleaseNotes@v8.3 with: shell: pwsh buildVersion: ${{ github.event.inputs.buildVersion }} @@ -190,13 +190,13 @@ jobs: uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - name: Read settings - uses: microsoft/AL-Go/Actions/ReadSettings@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/ReadSettings@v8.3 with: shell: pwsh - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go/Actions/ReadSecrets@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/ReadSecrets@v8.3 with: shell: pwsh gitHubSecrets: ${{ toJson(secrets) }} @@ -240,7 +240,7 @@ jobs: }); - name: Deliver to NuGet - uses: microsoft/AL-Go/Actions/Deliver@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/Deliver@v8.3 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@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/Deliver@v8.3 if: ${{ fromJson(steps.ReadSecrets.outputs.Secrets).storageContext != '' }} env: Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' @@ -297,13 +297,13 @@ jobs: uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - name: Read settings - uses: microsoft/AL-Go/Actions/ReadSettings@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/ReadSettings@v8.3 with: shell: pwsh - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go/Actions/ReadSecrets@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/ReadSecrets@v8.3 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@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/IncrementVersionNumber@v8.3 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@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v8.3 env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/Current.yaml b/.github/workflows/Current.yaml index d54ac8e..fb8a67e 100644 --- a/.github/workflows/Current.yaml +++ b/.github/workflows/Current.yaml @@ -33,7 +33,7 @@ jobs: telemetryScopeJson: ${{ steps.init.outputs.telemetryScopeJson }} steps: - name: Dump Workflow Information - uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v8.3 with: shell: pwsh @@ -44,13 +44,13 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go/Actions/WorkflowInitialize@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/WorkflowInitialize@v8.3 with: shell: pwsh - name: Read settings id: ReadSettings - uses: microsoft/AL-Go/Actions/ReadSettings@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/ReadSettings@v8.3 with: shell: pwsh get: useGitSubmodules,shortLivedArtifactsRetentionDays @@ -58,7 +58,7 @@ jobs: - name: Read submodules token id: ReadSubmodulesToken if: env.useGitSubmodules != 'false' && env.useGitSubmodules != '' - uses: microsoft/AL-Go/Actions/ReadSecrets@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/ReadSecrets@v8.3 with: shell: pwsh gitHubSecrets: ${{ toJson(secrets) }} @@ -80,7 +80,7 @@ jobs: - name: Determine Projects To Build id: determineProjectsToBuild - uses: microsoft/AL-Go/Actions/DetermineProjectsToBuild@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/DetermineProjectsToBuild@v8.3 with: shell: pwsh maxBuildDepth: ${{ env.workflowDepth }} @@ -139,7 +139,7 @@ jobs: - name: Finalize the workflow id: PostProcess - uses: microsoft/AL-Go/Actions/WorkflowPostProcess@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v8.3 env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/DeployReferenceDocumentation.yaml b/.github/workflows/DeployReferenceDocumentation.yaml index b3927d5..f038688 100644 --- a/.github/workflows/DeployReferenceDocumentation.yaml +++ b/.github/workflows/DeployReferenceDocumentation.yaml @@ -30,24 +30,24 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go/Actions/WorkflowInitialize@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/WorkflowInitialize@v8.3 with: shell: pwsh - name: Read settings - uses: microsoft/AL-Go/Actions/ReadSettings@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/ReadSettings@v8.3 with: shell: pwsh - name: Determine ArtifactUrl id: determineArtifactUrl - uses: microsoft/AL-Go/Actions/DetermineArtifactUrl@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/DetermineArtifactUrl@v8.3 with: shell: pwsh - name: Determine Deployment Environments id: DetermineDeploymentEnvironments - uses: microsoft/AL-Go/Actions/DetermineDeploymentEnvironments@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/DetermineDeploymentEnvironments@v8.3 env: GITHUB_TOKEN: ${{ github.token }} with: @@ -60,7 +60,7 @@ jobs: uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0 - name: Build Reference Documentation - uses: microsoft/AL-Go/Actions/BuildReferenceDocumentation@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/BuildReferenceDocumentation@v8.3 with: shell: pwsh artifacts: 'latest' @@ -78,7 +78,7 @@ jobs: - name: Finalize the workflow if: always() - uses: microsoft/AL-Go/Actions/WorkflowPostProcess@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v8.3 env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/IncrementVersionNumber.yaml b/.github/workflows/IncrementVersionNumber.yaml index e7b54d2..ddb5433 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@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v8.3 with: shell: pwsh @@ -57,24 +57,24 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go/Actions/WorkflowInitialize@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/WorkflowInitialize@v8.3 with: shell: pwsh - name: Read settings - uses: microsoft/AL-Go/Actions/ReadSettings@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/ReadSettings@v8.3 with: shell: pwsh - name: Validate Workflow Input if: ${{ github.event_name == 'workflow_dispatch' }} - uses: microsoft/AL-Go/Actions/ValidateWorkflowInput@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/ValidateWorkflowInput@v8.3 with: shell: pwsh - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go/Actions/ReadSecrets@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/ReadSecrets@v8.3 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@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/IncrementVersionNumber@v8.3 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@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v8.3 env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/NextMajor.yaml b/.github/workflows/NextMajor.yaml index 7333654..8fe414f 100644 --- a/.github/workflows/NextMajor.yaml +++ b/.github/workflows/NextMajor.yaml @@ -33,7 +33,7 @@ jobs: telemetryScopeJson: ${{ steps.init.outputs.telemetryScopeJson }} steps: - name: Dump Workflow Information - uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v8.3 with: shell: pwsh @@ -44,13 +44,13 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go/Actions/WorkflowInitialize@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/WorkflowInitialize@v8.3 with: shell: pwsh - name: Read settings id: ReadSettings - uses: microsoft/AL-Go/Actions/ReadSettings@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/ReadSettings@v8.3 with: shell: pwsh get: useGitSubmodules,shortLivedArtifactsRetentionDays @@ -58,7 +58,7 @@ jobs: - name: Read submodules token id: ReadSubmodulesToken if: env.useGitSubmodules != 'false' && env.useGitSubmodules != '' - uses: microsoft/AL-Go/Actions/ReadSecrets@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/ReadSecrets@v8.3 with: shell: pwsh gitHubSecrets: ${{ toJson(secrets) }} @@ -80,7 +80,7 @@ jobs: - name: Determine Projects To Build id: determineProjectsToBuild - uses: microsoft/AL-Go/Actions/DetermineProjectsToBuild@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/DetermineProjectsToBuild@v8.3 with: shell: pwsh maxBuildDepth: ${{ env.workflowDepth }} @@ -139,7 +139,7 @@ jobs: - name: Finalize the workflow id: PostProcess - uses: microsoft/AL-Go/Actions/WorkflowPostProcess@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v8.3 env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/NextMinor.yaml b/.github/workflows/NextMinor.yaml index e145cde..5ffc5a7 100644 --- a/.github/workflows/NextMinor.yaml +++ b/.github/workflows/NextMinor.yaml @@ -33,7 +33,7 @@ jobs: telemetryScopeJson: ${{ steps.init.outputs.telemetryScopeJson }} steps: - name: Dump Workflow Information - uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v8.3 with: shell: pwsh @@ -44,13 +44,13 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go/Actions/WorkflowInitialize@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/WorkflowInitialize@v8.3 with: shell: pwsh - name: Read settings id: ReadSettings - uses: microsoft/AL-Go/Actions/ReadSettings@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/ReadSettings@v8.3 with: shell: pwsh get: useGitSubmodules,shortLivedArtifactsRetentionDays @@ -58,7 +58,7 @@ jobs: - name: Read submodules token id: ReadSubmodulesToken if: env.useGitSubmodules != 'false' && env.useGitSubmodules != '' - uses: microsoft/AL-Go/Actions/ReadSecrets@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/ReadSecrets@v8.3 with: shell: pwsh gitHubSecrets: ${{ toJson(secrets) }} @@ -80,7 +80,7 @@ jobs: - name: Determine Projects To Build id: determineProjectsToBuild - uses: microsoft/AL-Go/Actions/DetermineProjectsToBuild@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/DetermineProjectsToBuild@v8.3 with: shell: pwsh maxBuildDepth: ${{ env.workflowDepth }} @@ -139,7 +139,7 @@ jobs: - name: Finalize the workflow id: PostProcess - uses: microsoft/AL-Go/Actions/WorkflowPostProcess@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v8.3 env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/PublishToAppSource.yaml b/.github/workflows/PublishToAppSource.yaml index 8344cfa..eef73a0 100644 --- a/.github/workflows/PublishToAppSource.yaml +++ b/.github/workflows/PublishToAppSource.yaml @@ -38,7 +38,7 @@ jobs: telemetryScopeJson: ${{ steps.init.outputs.telemetryScopeJson }} steps: - name: Dump Workflow Information - uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v8.3 with: shell: pwsh @@ -47,7 +47,7 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go/Actions/WorkflowInitialize@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/WorkflowInitialize@v8.3 with: shell: pwsh @@ -60,20 +60,20 @@ jobs: uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - name: Read settings - uses: microsoft/AL-Go/Actions/ReadSettings@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/ReadSettings@v8.3 with: shell: pwsh - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go/Actions/ReadSecrets@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/ReadSecrets@v8.3 with: shell: pwsh gitHubSecrets: ${{ toJson(secrets) }} getSecrets: 'appSourceContext' - name: Deliver - uses: microsoft/AL-Go/Actions/Deliver@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/Deliver@v8.3 env: Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' with: @@ -94,7 +94,7 @@ jobs: - name: Finalize the workflow id: PostProcess - uses: microsoft/AL-Go/Actions/WorkflowPostProcess@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v8.3 env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/PublishToEnvironment.yaml b/.github/workflows/PublishToEnvironment.yaml index 12eae69..5946d2a 100644 --- a/.github/workflows/PublishToEnvironment.yaml +++ b/.github/workflows/PublishToEnvironment.yaml @@ -42,7 +42,7 @@ jobs: telemetryScopeJson: ${{ steps.init.outputs.telemetryScopeJson }} steps: - name: Dump Workflow Information - uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v8.3 with: shell: pwsh @@ -51,19 +51,19 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go/Actions/WorkflowInitialize@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/WorkflowInitialize@v8.3 with: shell: pwsh - name: Read settings id: ReadSettings - uses: microsoft/AL-Go/Actions/ReadSettings@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/ReadSettings@v8.3 with: shell: pwsh - name: Determine Deployment Environments id: DetermineDeploymentEnvironments - uses: microsoft/AL-Go/Actions/DetermineDeploymentEnvironments@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/DetermineDeploymentEnvironments@v8.3 env: GITHUB_TOKEN: ${{ github.token }} with: @@ -82,7 +82,7 @@ jobs: - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go/Actions/ReadSecrets@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/ReadSecrets@v8.3 if: steps.DetermineDeploymentEnvironments.outputs.UnknownEnvironment == 1 with: shell: pwsh @@ -114,7 +114,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/924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a/Actions/AL-Go-Helper.ps1', $ALGoHelperPath) + $webClient.DownloadFile('https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.3/AL-Go-Helper.ps1', $ALGoHelperPath) . $ALGoHelperPath DownloadAndImportBcContainerHelper $authContext = New-BcAuthContext -includeDeviceLogin -deviceLoginTimeout ([TimeSpan]::FromSeconds(0)) @@ -150,29 +150,30 @@ jobs: Add-Content -Encoding UTF8 -Path $env:GITHUB_OUTPUT -Value "envName=$envName" - name: Read settings - uses: microsoft/AL-Go/Actions/ReadSettings@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/ReadSettings@v8.3 with: shell: ${{ matrix.shell }} get: type,powerPlatformSolutionFolder - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go/Actions/ReadSecrets@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/ReadSecrets@v8.3 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@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/GetArtifactsForDeployment@v8.3 with: shell: ${{ matrix.shell }} artifactsVersion: ${{ github.event.inputs.appVersion }} artifactsFolder: '.artifacts' + buildMode: ${{ matrix.buildMode }} - name: Deploy to Business Central id: Deploy - uses: microsoft/AL-Go/Actions/Deploy@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/Deploy@v8.3 env: Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' with: @@ -185,7 +186,7 @@ jobs: - name: Deploy to Power Platform if: env.type == 'PTE' && env.powerPlatformSolutionFolder != '' - uses: microsoft/AL-Go/Actions/DeployPowerPlatform@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/DeployPowerPlatform@v8.3 env: Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' with: @@ -204,7 +205,7 @@ jobs: - name: Finalize the workflow id: PostProcess - uses: microsoft/AL-Go/Actions/WorkflowPostProcess@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v8.3 env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/PullRequestHandler.yaml b/.github/workflows/PullRequestHandler.yaml index 16bb6dd..fb5e12b 100644 --- a/.github/workflows/PullRequestHandler.yaml +++ b/.github/workflows/PullRequestHandler.yaml @@ -31,7 +31,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@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + - uses: microsoft/AL-Go-Actions/VerifyPRChanges@v8.3 Initialization: needs: [ PregateCheck ] @@ -49,7 +49,7 @@ jobs: trackALAlertsInGitHub: ${{ steps.SetALCodeAnalysisVar.outputs.trackALAlertsInGitHub }} steps: - name: Dump Workflow Information - uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v8.3 with: shell: pwsh @@ -61,13 +61,13 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go/Actions/WorkflowInitialize@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/WorkflowInitialize@v8.3 with: shell: pwsh - name: Read settings id: ReadSettings - uses: microsoft/AL-Go/Actions/ReadSettings@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/ReadSettings@v8.3 with: shell: pwsh get: shortLivedArtifactsRetentionDays,trackALAlertsInGitHub @@ -86,7 +86,7 @@ jobs: - name: Determine Projects To Build id: determineProjectsToBuild - uses: microsoft/AL-Go/Actions/DetermineProjectsToBuild@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/DetermineProjectsToBuild@v8.3 with: shell: pwsh maxBuildDepth: ${{ env.workflowDepth }} @@ -165,7 +165,7 @@ jobs: - name: Process AL Code Analysis Logs id: ProcessALCodeAnalysisLogs if: (success() || failure()) - uses: microsoft/AL-Go/Actions/ProcessALCodeAnalysisLogs@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/ProcessALCodeAnalysisLogs@v8.3 with: shell: pwsh @@ -186,7 +186,7 @@ jobs: steps: - name: Pull Request Status Check id: PullRequestStatusCheck - uses: microsoft/AL-Go/Actions/PullRequestStatusCheck@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/PullRequestStatusCheck@v8.3 env: GITHUB_TOKEN: ${{ github.token }} with: @@ -194,7 +194,7 @@ jobs: - name: Finalize the workflow id: PostProcess - uses: microsoft/AL-Go/Actions/WorkflowPostProcess@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v8.3 if: success() || failure() env: GITHUB_TOKEN: ${{ github.token }} diff --git a/.github/workflows/Troubleshooting.yaml b/.github/workflows/Troubleshooting.yaml index 8cf5000..b0af20a 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@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/Troubleshooting@v8.3 with: shell: pwsh gitHubSecrets: ${{ toJson(secrets) }} diff --git a/.github/workflows/UpdateGitHubGoSystemFiles.yaml b/.github/workflows/UpdateGitHubGoSystemFiles.yaml index 27d092e..ac9e48c 100644 --- a/.github/workflows/UpdateGitHubGoSystemFiles.yaml +++ b/.github/workflows/UpdateGitHubGoSystemFiles.yaml @@ -66,14 +66,14 @@ jobs: - name: Read settings id: ReadSettings - uses: microsoft/AL-Go/Actions/ReadSettings@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/ReadSettings@v8.3 with: shell: pwsh get: templateUrl - name: Get Workflow Multi-Run Branches id: GetBranches - uses: microsoft/AL-Go/Actions/GetWorkflowMultiRunBranches@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/GetWorkflowMultiRunBranches@v8.3 with: shell: pwsh includeBranches: ${{ github.event.inputs.includeBranches }} @@ -102,7 +102,7 @@ jobs: steps: - name: Dump Workflow Information - uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v8.3 with: shell: pwsh @@ -113,19 +113,19 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go/Actions/WorkflowInitialize@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/WorkflowInitialize@v8.3 with: shell: pwsh - name: Read settings - uses: microsoft/AL-Go/Actions/ReadSettings@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/ReadSettings@v8.3 with: shell: pwsh get: commitOptions - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go/Actions/ReadSecrets@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/ReadSecrets@v8.3 with: shell: pwsh gitHubSecrets: ${{ toJson(secrets) }} @@ -152,7 +152,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@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/CheckForUpdates@v8.3 env: GITHUB_TOKEN: ${{ github.token }} with: @@ -166,7 +166,7 @@ jobs: - name: Finalize the workflow if: always() - uses: microsoft/AL-Go/Actions/WorkflowPostProcess@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v8.3 env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/_BuildALGoProject.yaml b/.github/workflows/_BuildALGoProject.yaml index db92fda..11ec969 100644 --- a/.github/workflows/_BuildALGoProject.yaml +++ b/.github/workflows/_BuildALGoProject.yaml @@ -104,7 +104,7 @@ jobs: lfs: true - name: Read settings - uses: microsoft/AL-Go/Actions/ReadSettings@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/ReadSettings@v8.3 with: shell: ${{ inputs.shell }} project: ${{ inputs.project }} @@ -113,7 +113,7 @@ jobs: - name: Determine whether to build project id: DetermineBuildProject - uses: microsoft/AL-Go/Actions/DetermineBuildProject@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/DetermineBuildProject@v8.3 with: shell: ${{ inputs.shell }} skippedProjectsJson: ${{ inputs.skippedProjectsJson }} @@ -122,8 +122,8 @@ jobs: - name: Read secrets id: ReadSecrets - if: steps.DetermineBuildProject.outputs.BuildIt == 'True' && github.event_name != 'pull_request' - uses: microsoft/AL-Go/Actions/ReadSecrets@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + if: steps.DetermineBuildProject.outputs.BuildIt == 'True' + uses: microsoft/AL-Go-Actions/ReadSecrets@v8.3 with: shell: ${{ inputs.shell }} gitHubSecrets: ${{ toJson(secrets) }} @@ -141,14 +141,14 @@ jobs: - name: Determine ArtifactUrl id: determineArtifactUrl if: steps.DetermineBuildProject.outputs.BuildIt == 'True' - uses: microsoft/AL-Go/Actions/DetermineArtifactUrl@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/DetermineArtifactUrl@v8.3 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@8b402f58fbc84540c8b491a91e594a4576fec3d7 # v5.0.2 + uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3 with: path: ${{ runner.temp }}/.artifactcache key: ${{ env.artifactCacheKey }} @@ -156,7 +156,7 @@ jobs: - name: Download Project Dependencies id: DownloadProjectDependencies if: steps.DetermineBuildProject.outputs.BuildIt == 'True' - uses: microsoft/AL-Go/Actions/DownloadProjectDependencies@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/DownloadProjectDependencies@v8.3 env: Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' with: @@ -167,7 +167,7 @@ jobs: baselineWorkflowRunId: ${{ inputs.baselineWorkflowRunId }} - name: Build - uses: microsoft/AL-Go/Actions/RunPipeline@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/RunPipeline@v8.3 if: steps.DetermineBuildProject.outputs.BuildIt == 'True' env: Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' @@ -186,7 +186,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 != '')) && (hashFiles(format('{0}/.buildartifacts/Apps/*.app',inputs.project)) != '') - uses: microsoft/AL-Go/Actions/Sign@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/Sign@v8.3 with: shell: ${{ inputs.shell }} azureCredentialsJson: '${{ fromJson(steps.ReadSecrets.outputs.Secrets).AZURE_CREDENTIALS }}' @@ -194,7 +194,7 @@ jobs: - name: Calculate Artifact names id: calculateArtifactsNames - uses: microsoft/AL-Go/Actions/CalculateArtifactNames@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/CalculateArtifactNames@v8.3 if: success() || failure() with: shell: ${{ inputs.shell }} @@ -289,7 +289,7 @@ jobs: - name: Analyze Test Results id: analyzeTestResults if: (success() || failure()) && env.doNotRunTests == 'False' - uses: microsoft/AL-Go/Actions/AnalyzeTests@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/AnalyzeTests@v8.3 with: shell: ${{ inputs.shell }} project: ${{ inputs.project }} @@ -298,7 +298,7 @@ jobs: - name: Analyze BCPT Test Results id: analyzeTestResultsBCPT if: (success() || failure()) && env.doNotRunBcptTests == 'False' - uses: microsoft/AL-Go/Actions/AnalyzeTests@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/AnalyzeTests@v8.3 with: shell: ${{ inputs.shell }} project: ${{ inputs.project }} @@ -307,7 +307,7 @@ jobs: - name: Analyze Page Scripting Test Results id: analyzeTestResultsPageScripting if: (success() || failure()) && env.doNotRunpageScriptingTests == 'False' - uses: microsoft/AL-Go/Actions/AnalyzeTests@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/AnalyzeTests@v8.3 with: shell: ${{ inputs.shell }} project: ${{ inputs.project }} @@ -315,7 +315,7 @@ jobs: - name: Cleanup if: always() && steps.DetermineBuildProject.outputs.BuildIt == 'True' - uses: microsoft/AL-Go/Actions/PipelineCleanup@924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a + uses: microsoft/AL-Go-Actions/PipelineCleanup@v8.3 with: shell: ${{ inputs.shell }} project: ${{ inputs.project }} diff --git a/Library Apps/.AL-Go/cloudDevEnv.ps1 b/Library Apps/.AL-Go/cloudDevEnv.ps1 index 95fb0f5..be1f8f7 100644 --- a/Library Apps/.AL-Go/cloudDevEnv.ps1 +++ b/Library Apps/.AL-Go/cloudDevEnv.ps1 @@ -141,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/924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a/Actions/Github-Helper.psm1' -folder $tmpFolder -notifyAuthenticatedAttempt -$ReadSettingsModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go/924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a/Actions/.Modules/ReadSettings.psm1' -folder $tmpFolder -$debugLoggingModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go/924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a/Actions/.Modules/DebugLogHelper.psm1' -folder $tmpFolder -$ALGoHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go/924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a/Actions/AL-Go-Helper.ps1' -folder $tmpFolder -DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go/924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a/Actions/.Modules/settings.schema.json' -folder $tmpFolder | Out-Null -DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go/924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a/Actions/Environment.Packages.proj' -folder $tmpFolder | Out-Null +$GitHubHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.3/Github-Helper.psm1' -folder $tmpFolder -notifyAuthenticatedAttempt +$ReadSettingsModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.3/.Modules/ReadSettings.psm1' -folder $tmpFolder +$debugLoggingModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.3/.Modules/DebugLogHelper.psm1' -folder $tmpFolder +$ALGoHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.3/AL-Go-Helper.ps1' -folder $tmpFolder +DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.3/.Modules/settings.schema.json' -folder $tmpFolder | Out-Null +DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.3/Environment.Packages.proj' -folder $tmpFolder | Out-Null Import-Module $GitHubHelperPath Import-Module $ReadSettingsModule diff --git a/Library Apps/.AL-Go/localDevEnv.ps1 b/Library Apps/.AL-Go/localDevEnv.ps1 index 4bd45e1..68723e8 100644 --- a/Library Apps/.AL-Go/localDevEnv.ps1 +++ b/Library Apps/.AL-Go/localDevEnv.ps1 @@ -154,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/924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a/Actions/Github-Helper.psm1' -folder $tmpFolder -notifyAuthenticatedAttempt -$ReadSettingsModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go/924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a/Actions/.Modules/ReadSettings.psm1' -folder $tmpFolder -$debugLoggingModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go/924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a/Actions/.Modules/DebugLogHelper.psm1' -folder $tmpFolder -$ALGoHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go/924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a/Actions/AL-Go-Helper.ps1' -folder $tmpFolder -DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go/924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a/Actions/.Modules/settings.schema.json' -folder $tmpFolder | Out-Null -DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go/924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a/Actions/Environment.Packages.proj' -folder $tmpFolder | Out-Null +$GitHubHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.3/Github-Helper.psm1' -folder $tmpFolder -notifyAuthenticatedAttempt +$ReadSettingsModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.3/.Modules/ReadSettings.psm1' -folder $tmpFolder +$debugLoggingModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.3/.Modules/DebugLogHelper.psm1' -folder $tmpFolder +$ALGoHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.3/AL-Go-Helper.ps1' -folder $tmpFolder +DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.3/.Modules/settings.schema.json' -folder $tmpFolder | Out-Null +DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.3/Environment.Packages.proj' -folder $tmpFolder | Out-Null Import-Module $GitHubHelperPath Import-Module $ReadSettingsModule diff --git a/Library Apps/.AL-Go/settings.json b/Library Apps/.AL-Go/settings.json index ed868b2..7f67bda 100644 --- a/Library Apps/.AL-Go/settings.json +++ b/Library Apps/.AL-Go/settings.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/microsoft/AL-Go/924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a/Actions/.Modules/settings.schema.json", + "$schema": "https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.3/.Modules/settings.schema.json", "country": "us", "VersioningStrategy": 16, "CodeSignCertificateUrlSecretName": "CodeSignCertificateUrl", diff --git a/Main App/.AL-Go/cloudDevEnv.ps1 b/Main App/.AL-Go/cloudDevEnv.ps1 index 95fb0f5..be1f8f7 100644 --- a/Main App/.AL-Go/cloudDevEnv.ps1 +++ b/Main App/.AL-Go/cloudDevEnv.ps1 @@ -141,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/924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a/Actions/Github-Helper.psm1' -folder $tmpFolder -notifyAuthenticatedAttempt -$ReadSettingsModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go/924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a/Actions/.Modules/ReadSettings.psm1' -folder $tmpFolder -$debugLoggingModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go/924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a/Actions/.Modules/DebugLogHelper.psm1' -folder $tmpFolder -$ALGoHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go/924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a/Actions/AL-Go-Helper.ps1' -folder $tmpFolder -DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go/924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a/Actions/.Modules/settings.schema.json' -folder $tmpFolder | Out-Null -DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go/924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a/Actions/Environment.Packages.proj' -folder $tmpFolder | Out-Null +$GitHubHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.3/Github-Helper.psm1' -folder $tmpFolder -notifyAuthenticatedAttempt +$ReadSettingsModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.3/.Modules/ReadSettings.psm1' -folder $tmpFolder +$debugLoggingModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.3/.Modules/DebugLogHelper.psm1' -folder $tmpFolder +$ALGoHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.3/AL-Go-Helper.ps1' -folder $tmpFolder +DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.3/.Modules/settings.schema.json' -folder $tmpFolder | Out-Null +DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.3/Environment.Packages.proj' -folder $tmpFolder | Out-Null Import-Module $GitHubHelperPath Import-Module $ReadSettingsModule diff --git a/Main App/.AL-Go/localDevEnv.ps1 b/Main App/.AL-Go/localDevEnv.ps1 index 4bd45e1..68723e8 100644 --- a/Main App/.AL-Go/localDevEnv.ps1 +++ b/Main App/.AL-Go/localDevEnv.ps1 @@ -154,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/924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a/Actions/Github-Helper.psm1' -folder $tmpFolder -notifyAuthenticatedAttempt -$ReadSettingsModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go/924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a/Actions/.Modules/ReadSettings.psm1' -folder $tmpFolder -$debugLoggingModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go/924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a/Actions/.Modules/DebugLogHelper.psm1' -folder $tmpFolder -$ALGoHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go/924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a/Actions/AL-Go-Helper.ps1' -folder $tmpFolder -DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go/924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a/Actions/.Modules/settings.schema.json' -folder $tmpFolder | Out-Null -DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go/924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a/Actions/Environment.Packages.proj' -folder $tmpFolder | Out-Null +$GitHubHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.3/Github-Helper.psm1' -folder $tmpFolder -notifyAuthenticatedAttempt +$ReadSettingsModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.3/.Modules/ReadSettings.psm1' -folder $tmpFolder +$debugLoggingModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.3/.Modules/DebugLogHelper.psm1' -folder $tmpFolder +$ALGoHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.3/AL-Go-Helper.ps1' -folder $tmpFolder +DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.3/.Modules/settings.schema.json' -folder $tmpFolder | Out-Null +DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.3/Environment.Packages.proj' -folder $tmpFolder | Out-Null Import-Module $GitHubHelperPath Import-Module $ReadSettingsModule diff --git a/Main App/.AL-Go/settings.json b/Main App/.AL-Go/settings.json index dae1594..05d0eb8 100644 --- a/Main App/.AL-Go/settings.json +++ b/Main App/.AL-Go/settings.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/microsoft/AL-Go/924e49c5c1b8e90d2bc3177c84c5b7a5d7e36b8a/Actions/.Modules/settings.schema.json", + "$schema": "https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.3/.Modules/settings.schema.json", "country": "us", "VersioningStrategy": 16, "CodeSignCertificateUrlSecretName": "CodeSignCertificateUrl",