diff --git a/.github/AL-Go-Settings.json b/.github/AL-Go-Settings.json index bc72b35..e264d69 100644 --- a/.github/AL-Go-Settings.json +++ b/.github/AL-Go-Settings.json @@ -26,5 +26,5 @@ "Account": "BCCodeSigningTest", "CertificateProfile": "BCCodeSigningPublic" }, - "templateSha": "52f5ff81bf4c58846d15cb593589596bb573b504" + "templateSha": "01224ec840973f9f9623562fffd252f4c4d5ff41" } diff --git a/.github/RELEASENOTES.copy.md b/.github/RELEASENOTES.copy.md index baba7e6..e9a2342 100644 --- a/.github/RELEASENOTES.copy.md +++ b/.github/RELEASENOTES.copy.md @@ -1,3 +1,27 @@ +## 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. + +### Security + +- Add top-level permissions for _Increment Version Number_ workflow + +### Issues + +- Issue 1697 Error in CheckForUpdates: "Internet Explorer engine is not available" when using self-hosted runners + +### Test settings against a JSON schema + +AL-Go for GitHub settings now has a schema. The following line is added at the beginning to any AL-Go settings files to utilize the schema: + +``` +"$schema": "https://raw.githubusercontent.com/microsoft/AL-Go-Actions//Actions/settings.schema.json" +``` + +### Failing pull requests if new warnings are added + +By setting failOn to 'newWarning', pull requests will fail if new warnings are introduced. This feature compares the warnings in the pull request build against those in the latest successful CI/CD build and fails if new warnings are detected. + ## v7.1 ### Issues diff --git a/.github/workflows/CICD.yaml b/.github/workflows/CICD.yaml index 9fd2618..7bcd2c8 100644 --- a/.github/workflows/CICD.yaml +++ b/.github/workflows/CICD.yaml @@ -48,7 +48,7 @@ jobs: powerPlatformSolutionFolder: ${{ steps.DeterminePowerPlatformSolutionFolder.outputs.powerPlatformSolutionFolder }} steps: - name: Dump Workflow Information - uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v7.1 + uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh @@ -59,13 +59,13 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go-Actions/WorkflowInitialize@v7.1 + uses: microsoft/AL-Go/Actions/WorkflowInitialize@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh - name: Read settings id: ReadSettings - uses: microsoft/AL-Go-Actions/ReadSettings@v7.1 + uses: microsoft/AL-Go/Actions/ReadSettings@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh get: type,powerPlatformSolutionFolder,useGitSubmodules @@ -73,7 +73,7 @@ jobs: - name: Read submodules token id: ReadSubmodulesToken if: env.useGitSubmodules != 'false' && env.useGitSubmodules != '' - uses: microsoft/AL-Go-Actions/ReadSecrets@v7.1 + uses: microsoft/AL-Go/Actions/ReadSecrets@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh gitHubSecrets: ${{ toJson(secrets) }} @@ -94,7 +94,7 @@ jobs: - name: Determine Projects To Build id: determineProjectsToBuild - uses: microsoft/AL-Go-Actions/DetermineProjectsToBuild@v7.1 + uses: microsoft/AL-Go/Actions/DetermineProjectsToBuild@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh maxBuildDepth: ${{ env.workflowDepth }} @@ -107,7 +107,7 @@ jobs: - name: Determine Delivery Target Secrets id: DetermineDeliveryTargetSecrets - uses: microsoft/AL-Go-Actions/DetermineDeliveryTargets@v7.1 + uses: microsoft/AL-Go/Actions/DetermineDeliveryTargets@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh projectsJson: '${{ steps.determineProjectsToBuild.outputs.ProjectsJson }}' @@ -115,7 +115,7 @@ jobs: - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go-Actions/ReadSecrets@v7.1 + uses: microsoft/AL-Go/Actions/ReadSecrets@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh gitHubSecrets: ${{ toJson(secrets) }} @@ -123,7 +123,7 @@ jobs: - name: Determine Delivery Targets id: DetermineDeliveryTargets - uses: microsoft/AL-Go-Actions/DetermineDeliveryTargets@v7.1 + uses: microsoft/AL-Go/Actions/DetermineDeliveryTargets@f95036a256cddc946513cffa84824712b9d44c95 env: Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' with: @@ -133,7 +133,7 @@ jobs: - name: Determine Deployment Environments id: DetermineDeploymentEnvironments - uses: microsoft/AL-Go-Actions/DetermineDeploymentEnvironments@v7.1 + uses: microsoft/AL-Go/Actions/DetermineDeploymentEnvironments@f95036a256cddc946513cffa84824712b9d44c95 env: GITHUB_TOKEN: ${{ github.token }} with: @@ -149,21 +149,21 @@ jobs: uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Read settings - uses: microsoft/AL-Go-Actions/ReadSettings@v7.1 + uses: microsoft/AL-Go/Actions/ReadSettings@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh get: templateUrl - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go-Actions/ReadSecrets@v7.1 + uses: microsoft/AL-Go/Actions/ReadSecrets@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh gitHubSecrets: ${{ toJson(secrets) }} getSecrets: 'ghTokenWorkflow' - name: Check for updates to AL-Go system files - uses: microsoft/AL-Go-Actions/CheckForUpdates@v7.1 + uses: microsoft/AL-Go/Actions/CheckForUpdates@f95036a256cddc946513cffa84824712b9d44c95 env: GITHUB_TOKEN: ${{ github.token }} with: @@ -243,7 +243,7 @@ jobs: path: '.artifacts' - name: Read settings - uses: microsoft/AL-Go-Actions/ReadSettings@v7.1 + uses: microsoft/AL-Go/Actions/ReadSettings@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh @@ -252,7 +252,7 @@ jobs: uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0 - name: Build Reference Documentation - uses: microsoft/AL-Go-Actions/BuildReferenceDocumentation@v7.1 + uses: microsoft/AL-Go/Actions/BuildReferenceDocumentation@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh artifacts: '.artifacts' @@ -289,7 +289,7 @@ jobs: path: '.artifacts' - name: Read settings - uses: microsoft/AL-Go-Actions/ReadSettings@v7.1 + uses: microsoft/AL-Go/Actions/ReadSettings@f95036a256cddc946513cffa84824712b9d44c95 with: shell: ${{ matrix.shell }} get: type,powerPlatformSolutionFolder @@ -303,7 +303,7 @@ jobs: - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go-Actions/ReadSecrets@v7.1 + uses: microsoft/AL-Go/Actions/ReadSecrets@f95036a256cddc946513cffa84824712b9d44c95 with: shell: ${{ matrix.shell }} gitHubSecrets: ${{ toJson(secrets) }} @@ -311,7 +311,7 @@ jobs: - name: Deploy to Business Central id: Deploy - uses: microsoft/AL-Go-Actions/Deploy@v7.1 + uses: microsoft/AL-Go/Actions/Deploy@f95036a256cddc946513cffa84824712b9d44c95 env: Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' with: @@ -323,7 +323,7 @@ jobs: - name: Deploy to Power Platform if: env.type == 'PTE' && env.powerPlatformSolutionFolder != '' - uses: microsoft/AL-Go-Actions/DeployPowerPlatform@v7.1 + uses: microsoft/AL-Go/Actions/DeployPowerPlatform@f95036a256cddc946513cffa84824712b9d44c95 env: Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' with: @@ -351,20 +351,20 @@ jobs: path: '.artifacts' - name: Read settings - uses: microsoft/AL-Go-Actions/ReadSettings@v7.1 + uses: microsoft/AL-Go/Actions/ReadSettings@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go-Actions/ReadSecrets@v7.1 + uses: microsoft/AL-Go/Actions/ReadSecrets@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh gitHubSecrets: ${{ toJson(secrets) }} getSecrets: '${{ matrix.deliveryTarget }}Context' - name: Deliver - uses: microsoft/AL-Go-Actions/Deliver@v7.1 + uses: microsoft/AL-Go/Actions/Deliver@f95036a256cddc946513cffa84824712b9d44c95 env: Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' with: @@ -384,7 +384,7 @@ jobs: - name: Finalize the workflow id: PostProcess - uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v7.1 + uses: microsoft/AL-Go/Actions/WorkflowPostProcess@f95036a256cddc946513cffa84824712b9d44c95 env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/CreateOnlineDevelopmentEnvironment.yaml b/.github/workflows/CreateOnlineDevelopmentEnvironment.yaml index c9afdb3..bf3ca61 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@v7.1 + uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh @@ -59,19 +59,19 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go-Actions/WorkflowInitialize@v7.1 + uses: microsoft/AL-Go/Actions/WorkflowInitialize@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh - name: Read settings id: ReadSettings - uses: microsoft/AL-Go-Actions/ReadSettings@v7.1 + uses: microsoft/AL-Go/Actions/ReadSettings@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go-Actions/ReadSecrets@v7.1 + uses: microsoft/AL-Go/Actions/ReadSecrets@f95036a256cddc946513cffa84824712b9d44c95 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-Actions/v7.1/AL-Go-Helper.ps1', $ALGoHelperPath) + $webClient.DownloadFile('https://raw.githubusercontent.com/microsoft/AL-Go/f95036a256cddc946513cffa84824712b9d44c95/Actions/AL-Go-Helper.ps1', $ALGoHelperPath) . $ALGoHelperPath DownloadAndImportBcContainerHelper $authContext = New-BcAuthContext -includeDeviceLogin -deviceLoginTimeout ([TimeSpan]::FromSeconds(0)) @@ -112,13 +112,13 @@ jobs: uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Read settings - uses: microsoft/AL-Go-Actions/ReadSettings@v7.1 + uses: microsoft/AL-Go/Actions/ReadSettings@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go-Actions/ReadSecrets@v7.1 + uses: microsoft/AL-Go/Actions/ReadSecrets@f95036a256cddc946513cffa84824712b9d44c95 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@v7.1 + uses: microsoft/AL-Go/Actions/CreateDevelopmentEnvironment@f95036a256cddc946513cffa84824712b9d44c95 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@v7.1 + uses: microsoft/AL-Go/Actions/WorkflowPostProcess@f95036a256cddc946513cffa84824712b9d44c95 env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/CreateRelease.yaml b/.github/workflows/CreateRelease.yaml index f2da141..c6d8ef5 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@v7.1 + uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh @@ -87,20 +87,20 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go-Actions/WorkflowInitialize@v7.1 + uses: microsoft/AL-Go/Actions/WorkflowInitialize@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh - name: Read settings id: ReadSettings - uses: microsoft/AL-Go-Actions/ReadSettings@v7.1 + uses: microsoft/AL-Go/Actions/ReadSettings@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh get: templateUrl,repoName,type,powerPlatformSolutionFolder - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go-Actions/ReadSecrets@v7.1 + uses: microsoft/AL-Go/Actions/ReadSecrets@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh gitHubSecrets: ${{ toJson(secrets) }} @@ -109,12 +109,12 @@ jobs: - name: Determine Projects id: determineProjects - uses: microsoft/AL-Go-Actions/DetermineProjectsToBuild@v7.1 + uses: microsoft/AL-Go/Actions/DetermineProjectsToBuild@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh - name: Check for updates to AL-Go system files - uses: microsoft/AL-Go-Actions/CheckForUpdates@v7.1 + uses: microsoft/AL-Go/Actions/CheckForUpdates@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh templateUrl: ${{ env.templateUrl }} @@ -209,7 +209,7 @@ jobs: - name: Prepare release notes id: createreleasenotes - uses: microsoft/AL-Go-Actions/CreateReleaseNotes@v7.1 + uses: microsoft/AL-Go/Actions/CreateReleaseNotes@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh buildVersion: ${{ github.event.inputs.buildVersion }} @@ -244,6 +244,7 @@ jobs: UploadArtifacts: needs: [ CreateRelease ] runs-on: [ ubuntu-latest ] + name: Upload ${{ matrix.name }} strategy: matrix: ${{ fromJson(needs.CreateRelease.outputs.artifacts) }} fail-fast: true @@ -252,13 +253,13 @@ jobs: uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Read settings - uses: microsoft/AL-Go-Actions/ReadSettings@v7.1 + uses: microsoft/AL-Go/Actions/ReadSettings@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go-Actions/ReadSecrets@v7.1 + uses: microsoft/AL-Go/Actions/ReadSecrets@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh gitHubSecrets: ${{ toJson(secrets) }} @@ -296,7 +297,7 @@ jobs: }); - name: Deliver to NuGet - uses: microsoft/AL-Go-Actions/Deliver@v7.1 + uses: microsoft/AL-Go/Actions/Deliver@f95036a256cddc946513cffa84824712b9d44c95 if: ${{ fromJson(steps.ReadSecrets.outputs.Secrets).nuGetContext != '' }} env: Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' @@ -309,7 +310,7 @@ jobs: atypes: 'Apps,TestApps' - name: Deliver to Storage - uses: microsoft/AL-Go-Actions/Deliver@v7.1 + uses: microsoft/AL-Go/Actions/Deliver@f95036a256cddc946513cffa84824712b9d44c95 if: ${{ fromJson(steps.ReadSecrets.outputs.Secrets).storageContext != '' }} env: Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' @@ -353,13 +354,13 @@ jobs: uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Read settings - uses: microsoft/AL-Go-Actions/ReadSettings@v7.1 + uses: microsoft/AL-Go/Actions/ReadSettings@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go-Actions/ReadSecrets@v7.1 + uses: microsoft/AL-Go/Actions/ReadSecrets@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh gitHubSecrets: ${{ toJson(secrets) }} @@ -367,7 +368,7 @@ jobs: useGhTokenWorkflowForPush: '${{ github.event.inputs.useGhTokenWorkflow }}' - name: Update Version Number - uses: microsoft/AL-Go-Actions/IncrementVersionNumber@v7.1 + uses: microsoft/AL-Go/Actions/IncrementVersionNumber@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh token: ${{ steps.ReadSecrets.outputs.TokenForPush }} @@ -385,7 +386,7 @@ jobs: - name: Finalize the workflow id: PostProcess - uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v7.1 + uses: microsoft/AL-Go/Actions/WorkflowPostProcess@f95036a256cddc946513cffa84824712b9d44c95 env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/Current.yaml b/.github/workflows/Current.yaml index 9df4e56..7ac9dcc 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@v7.1 + uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh @@ -43,13 +43,13 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go-Actions/WorkflowInitialize@v7.1 + uses: microsoft/AL-Go/Actions/WorkflowInitialize@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh - name: Read settings id: ReadSettings - uses: microsoft/AL-Go-Actions/ReadSettings@v7.1 + uses: microsoft/AL-Go/Actions/ReadSettings@f95036a256cddc946513cffa84824712b9d44c95 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@v7.1 + uses: microsoft/AL-Go/Actions/ReadSecrets@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh gitHubSecrets: ${{ toJson(secrets) }} @@ -79,7 +79,7 @@ jobs: - name: Determine Projects To Build id: determineProjectsToBuild - uses: microsoft/AL-Go-Actions/DetermineProjectsToBuild@v7.1 + uses: microsoft/AL-Go/Actions/DetermineProjectsToBuild@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh maxBuildDepth: ${{ env.workflowDepth }} @@ -136,7 +136,7 @@ jobs: - name: Finalize the workflow id: PostProcess - uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v7.1 + uses: microsoft/AL-Go/Actions/WorkflowPostProcess@f95036a256cddc946513cffa84824712b9d44c95 env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/DeployReferenceDocumentation.yaml b/.github/workflows/DeployReferenceDocumentation.yaml index 083f802..f47d940 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@v7.1 + uses: microsoft/AL-Go/Actions/WorkflowInitialize@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh - name: Read settings - uses: microsoft/AL-Go-Actions/ReadSettings@v7.1 + uses: microsoft/AL-Go/Actions/ReadSettings@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh - name: Determine Deployment Environments id: DetermineDeploymentEnvironments - uses: microsoft/AL-Go-Actions/DetermineDeploymentEnvironments@v7.1 + uses: microsoft/AL-Go/Actions/DetermineDeploymentEnvironments@f95036a256cddc946513cffa84824712b9d44c95 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@v7.1 + uses: microsoft/AL-Go/Actions/BuildReferenceDocumentation@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh artifacts: 'latest' @@ -71,7 +71,7 @@ jobs: - name: Finalize the workflow if: always() - uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v7.1 + uses: microsoft/AL-Go/Actions/WorkflowPostProcess@f95036a256cddc946513cffa84824712b9d44c95 env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/IncrementVersionNumber.yaml b/.github/workflows/IncrementVersionNumber.yaml index dacb9b7..7567c87 100644 --- a/.github/workflows/IncrementVersionNumber.yaml +++ b/.github/workflows/IncrementVersionNumber.yaml @@ -34,6 +34,9 @@ env: ALGoOrgSettings: ${{ vars.ALGoOrgSettings }} ALGoRepoSettings: ${{ vars.ALGoRepoSettings }} +permissions: + contents: read + jobs: IncrementVersionNumber: needs: [ ] @@ -45,7 +48,7 @@ jobs: pull-requests: write steps: - name: Dump Workflow Information - uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v7.1 + uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh @@ -54,18 +57,18 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go-Actions/WorkflowInitialize@v7.1 + uses: microsoft/AL-Go/Actions/WorkflowInitialize@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh - name: Read settings - uses: microsoft/AL-Go-Actions/ReadSettings@v7.1 + uses: microsoft/AL-Go/Actions/ReadSettings@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go-Actions/ReadSecrets@v7.1 + uses: microsoft/AL-Go/Actions/ReadSecrets@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh gitHubSecrets: ${{ toJson(secrets) }} @@ -73,7 +76,7 @@ jobs: useGhTokenWorkflowForPush: '${{ github.event.inputs.useGhTokenWorkflow }}' - name: Increment Version Number - uses: microsoft/AL-Go-Actions/IncrementVersionNumber@v7.1 + uses: microsoft/AL-Go/Actions/IncrementVersionNumber@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh token: ${{ steps.ReadSecrets.outputs.TokenForPush }} @@ -84,7 +87,7 @@ jobs: - name: Finalize the workflow if: always() - uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v7.1 + uses: microsoft/AL-Go/Actions/WorkflowPostProcess@f95036a256cddc946513cffa84824712b9d44c95 env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/NextMajor.yaml b/.github/workflows/NextMajor.yaml index 53ff3f9..369adf9 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@v7.1 + uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh @@ -43,13 +43,13 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go-Actions/WorkflowInitialize@v7.1 + uses: microsoft/AL-Go/Actions/WorkflowInitialize@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh - name: Read settings id: ReadSettings - uses: microsoft/AL-Go-Actions/ReadSettings@v7.1 + uses: microsoft/AL-Go/Actions/ReadSettings@f95036a256cddc946513cffa84824712b9d44c95 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@v7.1 + uses: microsoft/AL-Go/Actions/ReadSecrets@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh gitHubSecrets: ${{ toJson(secrets) }} @@ -79,7 +79,7 @@ jobs: - name: Determine Projects To Build id: determineProjectsToBuild - uses: microsoft/AL-Go-Actions/DetermineProjectsToBuild@v7.1 + uses: microsoft/AL-Go/Actions/DetermineProjectsToBuild@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh maxBuildDepth: ${{ env.workflowDepth }} @@ -136,7 +136,7 @@ jobs: - name: Finalize the workflow id: PostProcess - uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v7.1 + uses: microsoft/AL-Go/Actions/WorkflowPostProcess@f95036a256cddc946513cffa84824712b9d44c95 env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/NextMinor.yaml b/.github/workflows/NextMinor.yaml index d4c1a78..4a214c0 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@v7.1 + uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh @@ -43,13 +43,13 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go-Actions/WorkflowInitialize@v7.1 + uses: microsoft/AL-Go/Actions/WorkflowInitialize@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh - name: Read settings id: ReadSettings - uses: microsoft/AL-Go-Actions/ReadSettings@v7.1 + uses: microsoft/AL-Go/Actions/ReadSettings@f95036a256cddc946513cffa84824712b9d44c95 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@v7.1 + uses: microsoft/AL-Go/Actions/ReadSecrets@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh gitHubSecrets: ${{ toJson(secrets) }} @@ -79,7 +79,7 @@ jobs: - name: Determine Projects To Build id: determineProjectsToBuild - uses: microsoft/AL-Go-Actions/DetermineProjectsToBuild@v7.1 + uses: microsoft/AL-Go/Actions/DetermineProjectsToBuild@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh maxBuildDepth: ${{ env.workflowDepth }} @@ -136,7 +136,7 @@ jobs: - name: Finalize the workflow id: PostProcess - uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v7.1 + uses: microsoft/AL-Go/Actions/WorkflowPostProcess@f95036a256cddc946513cffa84824712b9d44c95 env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/PublishToAppSource.yaml b/.github/workflows/PublishToAppSource.yaml index 9061194..0635617 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@v7.1 + uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh @@ -47,7 +47,7 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go-Actions/WorkflowInitialize@v7.1 + uses: microsoft/AL-Go/Actions/WorkflowInitialize@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh @@ -60,20 +60,20 @@ jobs: uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Read settings - uses: microsoft/AL-Go-Actions/ReadSettings@v7.1 + uses: microsoft/AL-Go/Actions/ReadSettings@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go-Actions/ReadSecrets@v7.1 + uses: microsoft/AL-Go/Actions/ReadSecrets@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh gitHubSecrets: ${{ toJson(secrets) }} getSecrets: 'appSourceContext' - name: Deliver - uses: microsoft/AL-Go-Actions/Deliver@v7.1 + uses: microsoft/AL-Go/Actions/Deliver@f95036a256cddc946513cffa84824712b9d44c95 env: Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' with: @@ -94,7 +94,7 @@ jobs: - name: Finalize the workflow id: PostProcess - uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v7.1 + uses: microsoft/AL-Go/Actions/WorkflowPostProcess@f95036a256cddc946513cffa84824712b9d44c95 env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/PublishToEnvironment.yaml b/.github/workflows/PublishToEnvironment.yaml index 4d0cfd9..d075462 100644 --- a/.github/workflows/PublishToEnvironment.yaml +++ b/.github/workflows/PublishToEnvironment.yaml @@ -36,7 +36,7 @@ jobs: telemetryScopeJson: ${{ steps.init.outputs.telemetryScopeJson }} steps: - name: Dump Workflow Information - uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v7.1 + uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh @@ -45,19 +45,19 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go-Actions/WorkflowInitialize@v7.1 + uses: microsoft/AL-Go/Actions/WorkflowInitialize@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh - name: Read settings id: ReadSettings - uses: microsoft/AL-Go-Actions/ReadSettings@v7.1 + uses: microsoft/AL-Go/Actions/ReadSettings@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh - name: Determine Deployment Environments id: DetermineDeploymentEnvironments - uses: microsoft/AL-Go-Actions/DetermineDeploymentEnvironments@v7.1 + uses: microsoft/AL-Go/Actions/DetermineDeploymentEnvironments@f95036a256cddc946513cffa84824712b9d44c95 env: GITHUB_TOKEN: ${{ github.token }} with: @@ -75,7 +75,7 @@ jobs: - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go-Actions/ReadSecrets@v7.1 + uses: microsoft/AL-Go/Actions/ReadSecrets@f95036a256cddc946513cffa84824712b9d44c95 if: steps.DetermineDeploymentEnvironments.outputs.UnknownEnvironment == 1 with: shell: pwsh @@ -107,7 +107,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-Actions/v7.1/AL-Go-Helper.ps1', $ALGoHelperPath) + $webClient.DownloadFile('https://raw.githubusercontent.com/microsoft/AL-Go/f95036a256cddc946513cffa84824712b9d44c95/Actions/AL-Go-Helper.ps1', $ALGoHelperPath) . $ALGoHelperPath DownloadAndImportBcContainerHelper $authContext = New-BcAuthContext -includeDeviceLogin -deviceLoginTimeout ([TimeSpan]::FromSeconds(0)) @@ -141,21 +141,21 @@ jobs: Add-Content -Encoding UTF8 -Path $env:GITHUB_OUTPUT -Value "envName=$envName" - name: Read settings - uses: microsoft/AL-Go-Actions/ReadSettings@v7.1 + uses: microsoft/AL-Go/Actions/ReadSettings@f95036a256cddc946513cffa84824712b9d44c95 with: shell: ${{ matrix.shell }} get: type,powerPlatformSolutionFolder - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go-Actions/ReadSecrets@v7.1 + uses: microsoft/AL-Go/Actions/ReadSecrets@f95036a256cddc946513cffa84824712b9d44c95 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@v7.1 + uses: microsoft/AL-Go/Actions/GetArtifactsForDeployment@f95036a256cddc946513cffa84824712b9d44c95 with: shell: ${{ matrix.shell }} artifactsVersion: ${{ github.event.inputs.appVersion }} @@ -163,7 +163,7 @@ jobs: - name: Deploy to Business Central id: Deploy - uses: microsoft/AL-Go-Actions/Deploy@v7.1 + uses: microsoft/AL-Go/Actions/Deploy@f95036a256cddc946513cffa84824712b9d44c95 env: Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' with: @@ -176,7 +176,7 @@ jobs: - name: Deploy to Power Platform if: env.type == 'PTE' && env.powerPlatformSolutionFolder != '' - uses: microsoft/AL-Go-Actions/DeployPowerPlatform@v7.1 + uses: microsoft/AL-Go/Actions/DeployPowerPlatform@f95036a256cddc946513cffa84824712b9d44c95 env: Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' with: @@ -195,7 +195,7 @@ jobs: - name: Finalize the workflow id: PostProcess - uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v7.1 + uses: microsoft/AL-Go/Actions/WorkflowPostProcess@f95036a256cddc946513cffa84824712b9d44c95 env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/PullRequestHandler.yaml b/.github/workflows/PullRequestHandler.yaml index eefcdaa..21b1897 100644 --- a/.github/workflows/PullRequestHandler.yaml +++ b/.github/workflows/PullRequestHandler.yaml @@ -28,7 +28,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@v7.1 + - uses: microsoft/AL-Go/Actions/VerifyPRChanges@f95036a256cddc946513cffa84824712b9d44c95 Initialization: needs: [ PregateCheck ] @@ -45,7 +45,7 @@ jobs: telemetryScopeJson: ${{ steps.init.outputs.telemetryScopeJson }} steps: - name: Dump Workflow Information - uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v7.1 + uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh @@ -57,13 +57,13 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go-Actions/WorkflowInitialize@v7.1 + uses: microsoft/AL-Go/Actions/WorkflowInitialize@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh - name: Read settings id: ReadSettings - uses: microsoft/AL-Go-Actions/ReadSettings@v7.1 + uses: microsoft/AL-Go/Actions/ReadSettings@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh get: shortLivedArtifactsRetentionDays @@ -76,7 +76,7 @@ jobs: - name: Determine Projects To Build id: determineProjectsToBuild - uses: microsoft/AL-Go-Actions/DetermineProjectsToBuild@v7.1 + uses: microsoft/AL-Go/Actions/DetermineProjectsToBuild@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh maxBuildDepth: ${{ env.workflowDepth }} @@ -139,7 +139,7 @@ jobs: steps: - name: Pull Request Status Check id: PullRequestStatusCheck - uses: microsoft/AL-Go-Actions/PullRequestStatusCheck@v7.1 + uses: microsoft/AL-Go/Actions/PullRequestStatusCheck@f95036a256cddc946513cffa84824712b9d44c95 env: GITHUB_TOKEN: ${{ github.token }} with: @@ -147,7 +147,7 @@ jobs: - name: Finalize the workflow id: PostProcess - uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v7.1 + uses: microsoft/AL-Go/Actions/WorkflowPostProcess@f95036a256cddc946513cffa84824712b9d44c95 if: success() || failure() env: GITHUB_TOKEN: ${{ github.token }} diff --git a/.github/workflows/Troubleshooting.yaml b/.github/workflows/Troubleshooting.yaml index 0e42927..b61c58c 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@v7.1 + uses: microsoft/AL-Go/Actions/Troubleshooting@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh gitHubSecrets: ${{ toJson(secrets) }} diff --git a/.github/workflows/UpdateGitHubGoSystemFiles.yaml b/.github/workflows/UpdateGitHubGoSystemFiles.yaml index 2758611..9429aa3 100644 --- a/.github/workflows/UpdateGitHubGoSystemFiles.yaml +++ b/.github/workflows/UpdateGitHubGoSystemFiles.yaml @@ -46,14 +46,14 @@ jobs: - name: Read settings id: ReadSettings - uses: microsoft/AL-Go-Actions/ReadSettings@v7.1 + uses: microsoft/AL-Go/Actions/ReadSettings@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh get: templateUrl - name: Get Workflow Multi-Run Branches id: GetBranches - uses: microsoft/AL-Go-Actions/GetWorkflowMultiRunBranches@v7.1 + uses: microsoft/AL-Go/Actions/GetWorkflowMultiRunBranches@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh includeBranches: ${{ github.event.inputs.includeBranches }} @@ -74,7 +74,7 @@ jobs: UpdateALGoSystemFiles: name: "[${{ matrix.branch }}] Update AL-Go System Files" needs: [ Initialize ] - runs-on: [ ubuntu-latest ] + runs-on: windows-latest strategy: matrix: branch: ${{ fromJson(needs.Initialize.outputs.UpdateBranches).branches }} @@ -82,7 +82,7 @@ jobs: steps: - name: Dump Workflow Information - uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v7.1 + uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh @@ -93,19 +93,19 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go-Actions/WorkflowInitialize@v7.1 + uses: microsoft/AL-Go/Actions/WorkflowInitialize@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh - name: Read settings - uses: microsoft/AL-Go-Actions/ReadSettings@v7.1 + uses: microsoft/AL-Go/Actions/ReadSettings@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh get: commitOptions - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go-Actions/ReadSecrets@v7.1 + uses: microsoft/AL-Go/Actions/ReadSecrets@f95036a256cddc946513cffa84824712b9d44c95 with: shell: pwsh gitHubSecrets: ${{ toJson(secrets) }} @@ -132,7 +132,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@v7.1 + uses: microsoft/AL-Go/Actions/CheckForUpdates@f95036a256cddc946513cffa84824712b9d44c95 env: GITHUB_TOKEN: ${{ github.token }} with: @@ -146,7 +146,7 @@ jobs: - name: Finalize the workflow if: always() - uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v7.1 + uses: microsoft/AL-Go/Actions/WorkflowPostProcess@f95036a256cddc946513cffa84824712b9d44c95 env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/_BuildALGoProject.yaml b/.github/workflows/_BuildALGoProject.yaml index 538baa5..4b69707 100644 --- a/.github/workflows/_BuildALGoProject.yaml +++ b/.github/workflows/_BuildALGoProject.yaml @@ -99,7 +99,7 @@ jobs: lfs: true - name: Read settings - uses: microsoft/AL-Go-Actions/ReadSettings@v7.1 + uses: microsoft/AL-Go/Actions/ReadSettings@f95036a256cddc946513cffa84824712b9d44c95 with: shell: ${{ inputs.shell }} project: ${{ inputs.project }} @@ -108,7 +108,7 @@ jobs: - name: Determine whether to build project id: DetermineBuildProject - uses: microsoft/AL-Go-Actions/DetermineBuildProject@v7.1 + uses: microsoft/AL-Go/Actions/DetermineBuildProject@f95036a256cddc946513cffa84824712b9d44c95 with: shell: ${{ inputs.shell }} skippedProjectsJson: ${{ inputs.skippedProjectsJson }} @@ -118,7 +118,7 @@ jobs: - name: Read secrets id: ReadSecrets if: steps.DetermineBuildProject.outputs.BuildIt == 'True' && github.event_name != 'pull_request' - uses: microsoft/AL-Go-Actions/ReadSecrets@v7.1 + uses: microsoft/AL-Go/Actions/ReadSecrets@f95036a256cddc946513cffa84824712b9d44c95 with: shell: ${{ inputs.shell }} gitHubSecrets: ${{ toJson(secrets) }} @@ -136,7 +136,7 @@ jobs: - name: Determine ArtifactUrl id: determineArtifactUrl if: steps.DetermineBuildProject.outputs.BuildIt == 'True' - uses: microsoft/AL-Go-Actions/DetermineArtifactUrl@v7.1 + uses: microsoft/AL-Go/Actions/DetermineArtifactUrl@f95036a256cddc946513cffa84824712b9d44c95 with: shell: ${{ inputs.shell }} project: ${{ inputs.project }} @@ -151,7 +151,7 @@ jobs: - name: Download Project Dependencies id: DownloadProjectDependencies if: steps.DetermineBuildProject.outputs.BuildIt == 'True' - uses: microsoft/AL-Go-Actions/DownloadProjectDependencies@v7.1 + uses: microsoft/AL-Go/Actions/DownloadProjectDependencies@f95036a256cddc946513cffa84824712b9d44c95 env: Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' with: @@ -162,7 +162,7 @@ jobs: baselineWorkflowRunId: ${{ inputs.baselineWorkflowRunId }} - name: Build - uses: microsoft/AL-Go-Actions/RunPipeline@v7.1 + uses: microsoft/AL-Go/Actions/RunPipeline@f95036a256cddc946513cffa84824712b9d44c95 if: steps.DetermineBuildProject.outputs.BuildIt == 'True' env: Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' @@ -180,7 +180,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@v7.1 + uses: microsoft/AL-Go/Actions/Sign@f95036a256cddc946513cffa84824712b9d44c95 with: shell: ${{ inputs.shell }} azureCredentialsJson: '${{ fromJson(steps.ReadSecrets.outputs.Secrets).AZURE_CREDENTIALS }}' @@ -188,7 +188,7 @@ jobs: - name: Calculate Artifact names id: calculateArtifactsNames - uses: microsoft/AL-Go-Actions/CalculateArtifactNames@v7.1 + uses: microsoft/AL-Go/Actions/CalculateArtifactNames@f95036a256cddc946513cffa84824712b9d44c95 if: success() || failure() with: shell: ${{ inputs.shell }} @@ -273,8 +273,8 @@ jobs: - name: Analyze Test Results id: analyzeTestResults - if: (success() || failure()) && env.doNotRunTests == 'False' && ((hashFiles(format('{0}/.buildartifacts/TestResults.xml',inputs.project)) != '') || (hashFiles(format('{0}/.buildartifacts/bcptTestResults.json',inputs.project)) != '')) - uses: microsoft/AL-Go-Actions/AnalyzeTests@v7.1 + if: (success() || failure()) && env.doNotRunTests == 'False' + uses: microsoft/AL-Go/Actions/AnalyzeTests@f95036a256cddc946513cffa84824712b9d44c95 with: shell: ${{ inputs.shell }} project: ${{ inputs.project }} @@ -283,7 +283,7 @@ jobs: - name: Analyze BCPT Test Results id: analyzeTestResultsBCPT if: (success() || failure()) && env.doNotRunBcptTests == 'False' - uses: microsoft/AL-Go-Actions/AnalyzeTests@v7.1 + uses: microsoft/AL-Go/Actions/AnalyzeTests@f95036a256cddc946513cffa84824712b9d44c95 with: shell: ${{ inputs.shell }} project: ${{ inputs.project }} @@ -292,7 +292,7 @@ jobs: - name: Analyze Page Scripting Test Results id: analyzeTestResultsPageScripting if: (success() || failure()) && env.doNotRunpageScriptingTests == 'False' - uses: microsoft/AL-Go-Actions/AnalyzeTests@v7.1 + uses: microsoft/AL-Go/Actions/AnalyzeTests@f95036a256cddc946513cffa84824712b9d44c95 with: shell: ${{ inputs.shell }} project: ${{ inputs.project }} @@ -300,7 +300,7 @@ jobs: - name: Cleanup if: always() && steps.DetermineBuildProject.outputs.BuildIt == 'True' - uses: microsoft/AL-Go-Actions/PipelineCleanup@v7.1 + uses: microsoft/AL-Go/Actions/PipelineCleanup@f95036a256cddc946513cffa84824712b9d44c95 with: shell: ${{ inputs.shell }} project: ${{ inputs.project }} diff --git a/Library Apps/.AL-Go/cloudDevEnv.ps1 b/Library Apps/.AL-Go/cloudDevEnv.ps1 index 4f068a9..be0acf3 100644 --- a/Library Apps/.AL-Go/cloudDevEnv.ps1 +++ b/Library Apps/.AL-Go/cloudDevEnv.ps1 @@ -42,9 +42,9 @@ 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-Actions/v7.1/Github-Helper.psm1' -folder $tmpFolder -$ALGoHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v7.1/AL-Go-Helper.ps1' -folder $tmpFolder -DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v7.1/Packages.json' -folder $tmpFolder | Out-Null +$GitHubHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go/f95036a256cddc946513cffa84824712b9d44c95/Actions/Github-Helper.psm1' -folder $tmpFolder +$ALGoHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go/f95036a256cddc946513cffa84824712b9d44c95/Actions/AL-Go-Helper.ps1' -folder $tmpFolder +DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go/f95036a256cddc946513cffa84824712b9d44c95/Actions/Packages.json' -folder $tmpFolder | Out-Null Import-Module $GitHubHelperPath . $ALGoHelperPath -local diff --git a/Library Apps/.AL-Go/localDevEnv.ps1 b/Library Apps/.AL-Go/localDevEnv.ps1 index 0c73194..0130180 100644 --- a/Library Apps/.AL-Go/localDevEnv.ps1 +++ b/Library Apps/.AL-Go/localDevEnv.ps1 @@ -46,9 +46,9 @@ 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-Actions/v7.1/Github-Helper.psm1' -folder $tmpFolder -$ALGoHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v7.1/AL-Go-Helper.ps1' -folder $tmpFolder -DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v7.1/Packages.json' -folder $tmpFolder | Out-Null +$GitHubHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go/f95036a256cddc946513cffa84824712b9d44c95/Actions/Github-Helper.psm1' -folder $tmpFolder +$ALGoHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go/f95036a256cddc946513cffa84824712b9d44c95/Actions/AL-Go-Helper.ps1' -folder $tmpFolder +DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go/f95036a256cddc946513cffa84824712b9d44c95/Actions/Packages.json' -folder $tmpFolder | Out-Null Import-Module $GitHubHelperPath . $ALGoHelperPath -local diff --git a/Main App/.AL-Go/cloudDevEnv.ps1 b/Main App/.AL-Go/cloudDevEnv.ps1 index 4f068a9..be0acf3 100644 --- a/Main App/.AL-Go/cloudDevEnv.ps1 +++ b/Main App/.AL-Go/cloudDevEnv.ps1 @@ -42,9 +42,9 @@ 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-Actions/v7.1/Github-Helper.psm1' -folder $tmpFolder -$ALGoHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v7.1/AL-Go-Helper.ps1' -folder $tmpFolder -DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v7.1/Packages.json' -folder $tmpFolder | Out-Null +$GitHubHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go/f95036a256cddc946513cffa84824712b9d44c95/Actions/Github-Helper.psm1' -folder $tmpFolder +$ALGoHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go/f95036a256cddc946513cffa84824712b9d44c95/Actions/AL-Go-Helper.ps1' -folder $tmpFolder +DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go/f95036a256cddc946513cffa84824712b9d44c95/Actions/Packages.json' -folder $tmpFolder | Out-Null Import-Module $GitHubHelperPath . $ALGoHelperPath -local diff --git a/Main App/.AL-Go/localDevEnv.ps1 b/Main App/.AL-Go/localDevEnv.ps1 index 0c73194..0130180 100644 --- a/Main App/.AL-Go/localDevEnv.ps1 +++ b/Main App/.AL-Go/localDevEnv.ps1 @@ -46,9 +46,9 @@ 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-Actions/v7.1/Github-Helper.psm1' -folder $tmpFolder -$ALGoHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v7.1/AL-Go-Helper.ps1' -folder $tmpFolder -DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v7.1/Packages.json' -folder $tmpFolder | Out-Null +$GitHubHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go/f95036a256cddc946513cffa84824712b9d44c95/Actions/Github-Helper.psm1' -folder $tmpFolder +$ALGoHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go/f95036a256cddc946513cffa84824712b9d44c95/Actions/AL-Go-Helper.ps1' -folder $tmpFolder +DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go/f95036a256cddc946513cffa84824712b9d44c95/Actions/Packages.json' -folder $tmpFolder | Out-Null Import-Module $GitHubHelperPath . $ALGoHelperPath -local