diff --git a/.github/workflows/AddExistingAppOrTestApp.yaml b/.github/workflows/AddExistingAppOrTestApp.yaml index d4df447..cfd2622 100644 --- a/.github/workflows/AddExistingAppOrTestApp.yaml +++ b/.github/workflows/AddExistingAppOrTestApp.yaml @@ -29,7 +29,7 @@ permissions: defaults: run: - shell: powershell + shell: pwsh env: ALGoOrgSettings: ${{ vars.ALGoOrgSettings }} @@ -38,12 +38,12 @@ env: jobs: AddExistingAppOrTestApp: needs: [ ] - runs-on: [ windows-latest ] + runs-on: [ ubuntu-latest ] steps: - name: Dump Workflow Information uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh - name: Checkout uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 @@ -52,18 +52,18 @@ jobs: id: init uses: microsoft/AL-Go/Actions/WorkflowInitialize@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh - name: Read settings uses: microsoft/AL-Go/Actions/ReadSettings@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh - name: Read secrets id: ReadSecrets uses: microsoft/AL-Go/Actions/ReadSecrets@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh gitHubSecrets: ${{ toJson(secrets) }} getSecrets: 'TokenForPush' useGhTokenWorkflowForPush: '${{ github.event.inputs.useGhTokenWorkflow }}' @@ -71,7 +71,7 @@ jobs: - name: Add existing app uses: microsoft/AL-Go/Actions/AddExistingApp@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh token: ${{ steps.ReadSecrets.outputs.TokenForPush }} project: ${{ github.event.inputs.project }} url: ${{ github.event.inputs.url }} @@ -83,6 +83,6 @@ jobs: env: GITHUB_TOKEN: ${{ github.token }} with: - shell: powershell + shell: pwsh telemetryScopeJson: ${{ steps.init.outputs.telemetryScopeJson }} currentJobContext: ${{ toJson(job) }} diff --git a/.github/workflows/CICD.yaml b/.github/workflows/CICD.yaml index c2da0bf..8536231 100644 --- a/.github/workflows/CICD.yaml +++ b/.github/workflows/CICD.yaml @@ -11,7 +11,7 @@ on: defaults: run: - shell: powershell + shell: pwsh permissions: actions: read @@ -27,7 +27,7 @@ env: jobs: Initialization: needs: [ ] - runs-on: [ windows-latest ] + runs-on: [ ubuntu-latest ] outputs: telemetryScopeJson: ${{ steps.init.outputs.telemetryScopeJson }} environmentsMatrixJson: ${{ steps.DetermineDeploymentEnvironments.outputs.EnvironmentsMatrixJson }} @@ -47,7 +47,7 @@ jobs: - name: Dump Workflow Information uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh - name: Checkout uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 @@ -58,13 +58,13 @@ jobs: id: init uses: microsoft/AL-Go/Actions/WorkflowInitialize@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh - name: Read settings id: ReadSettings uses: microsoft/AL-Go/Actions/ReadSettings@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh get: type, powerPlatformSolutionFolder - name: Determine Workflow Depth @@ -76,7 +76,7 @@ jobs: id: determineProjectsToBuild uses: microsoft/AL-Go/Actions/DetermineProjectsToBuild@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh maxBuildDepth: ${{ env.workflowDepth }} - name: Determine PowerPlatform Solution Folder @@ -89,7 +89,7 @@ jobs: id: DetermineDeliveryTargetSecrets uses: microsoft/AL-Go/Actions/DetermineDeliveryTargets@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh projectsJson: '${{ steps.determineProjectsToBuild.outputs.ProjectsJson }}' checkContextSecrets: 'false' @@ -97,7 +97,7 @@ jobs: id: ReadSecrets uses: microsoft/AL-Go/Actions/ReadSecrets@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh gitHubSecrets: ${{ toJson(secrets) }} getSecrets: ${{ steps.DetermineDeliveryTargetSecrets.outputs.ContextSecrets }} @@ -107,7 +107,7 @@ jobs: env: Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' with: - shell: powershell + shell: pwsh projectsJson: '${{ steps.determineProjectsToBuild.outputs.ProjectsJson }}' checkContextSecrets: 'true' @@ -117,13 +117,13 @@ jobs: env: GITHUB_TOKEN: ${{ github.token }} with: - shell: powershell + shell: pwsh getEnvironments: '*' type: 'CD' CheckForUpdates: needs: [ Initialization ] - runs-on: [ windows-latest ] + runs-on: [ ubuntu-latest ] steps: - name: Checkout uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 @@ -131,13 +131,13 @@ jobs: - name: Read settings uses: microsoft/AL-Go/Actions/ReadSettings@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh get: templateUrl - name: Check for updates to AL-Go system files uses: microsoft/AL-Go/Actions/CheckForUpdates@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh templateUrl: ${{ env.templateUrl }} downloadLatest: true @@ -167,7 +167,7 @@ jobs: DeployALDoc: needs: [ Initialization, Build ] if: (!cancelled()) && needs.Build.result == 'Success' && needs.Initialization.outputs.generateALDocArtifact == 1 && github.ref_name == 'main' - runs-on: [ windows-latest ] + runs-on: [ ubuntu-latest ] name: Deploy Reference Documentation permissions: contents: read @@ -189,7 +189,7 @@ jobs: - name: Read settings uses: microsoft/AL-Go/Actions/ReadSettings@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh - name: Setup Pages if: needs.Initialization.outputs.deployALDocArtifact == 1 @@ -198,7 +198,7 @@ jobs: - name: Build Reference Documentation uses: microsoft/AL-Go/Actions/BuildReferenceDocumentation@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh artifacts: '.artifacts' - name: Upload pages artifact @@ -271,7 +271,7 @@ jobs: env: Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' with: - shell: powershell + shell: pwsh environmentName: ${{ matrix.environment }} artifactsFolder: '.artifacts' deploymentEnvironmentsJson: ${{ needs.Initialization.outputs.deploymentEnvironmentsJson }} @@ -283,7 +283,7 @@ jobs: matrix: deliveryTarget: ${{ fromJson(needs.Initialization.outputs.deliveryTargetsJson) }} fail-fast: false - runs-on: [ windows-latest ] + runs-on: [ ubuntu-latest ] name: Deliver to ${{ matrix.deliveryTarget }} steps: - name: Checkout @@ -297,13 +297,13 @@ jobs: - name: Read settings uses: microsoft/AL-Go/Actions/ReadSettings@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh - name: Read secrets id: ReadSecrets uses: microsoft/AL-Go/Actions/ReadSecrets@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh gitHubSecrets: ${{ toJson(secrets) }} getSecrets: '${{ matrix.deliveryTarget }}Context' @@ -312,7 +312,7 @@ jobs: env: Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' with: - shell: powershell + shell: pwsh type: 'CD' projects: ${{ needs.Initialization.outputs.projects }} deliveryTarget: ${{ matrix.deliveryTarget }} @@ -321,7 +321,7 @@ jobs: PostProcess: needs: [ Initialization, Build, Deploy, Deliver, DeployALDoc ] if: (!cancelled()) - runs-on: [ windows-latest ] + runs-on: [ ubuntu-latest ] steps: - name: Checkout uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 @@ -332,6 +332,6 @@ jobs: env: GITHUB_TOKEN: ${{ github.token }} with: - shell: powershell + shell: pwsh telemetryScopeJson: ${{ needs.Initialization.outputs.telemetryScopeJson }} currentJobContext: ${{ toJson(job) }} diff --git a/.github/workflows/CreateApp.yaml b/.github/workflows/CreateApp.yaml index 3063f5d..74b7b76 100644 --- a/.github/workflows/CreateApp.yaml +++ b/.github/workflows/CreateApp.yaml @@ -39,7 +39,7 @@ permissions: defaults: run: - shell: powershell + shell: pwsh env: ALGoOrgSettings: ${{ vars.ALGoOrgSettings }} @@ -48,12 +48,12 @@ env: jobs: CreateApp: needs: [ ] - runs-on: [ windows-latest ] + runs-on: [ ubuntu-latest ] steps: - name: Dump Workflow Information uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh - name: Checkout uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 @@ -62,19 +62,19 @@ jobs: id: init uses: microsoft/AL-Go/Actions/WorkflowInitialize@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh - name: Read settings uses: microsoft/AL-Go/Actions/ReadSettings@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh get: type - name: Read secrets id: ReadSecrets uses: microsoft/AL-Go/Actions/ReadSecrets@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh gitHubSecrets: ${{ toJson(secrets) }} getSecrets: 'TokenForPush' useGhTokenWorkflowForPush: '${{ github.event.inputs.useGhTokenWorkflow }}' @@ -82,7 +82,7 @@ jobs: - name: Creating a new app uses: microsoft/AL-Go/Actions/CreateApp@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh token: ${{ steps.ReadSecrets.outputs.TokenForPush }} project: ${{ github.event.inputs.project }} type: ${{ env.type }} @@ -98,6 +98,6 @@ jobs: env: GITHUB_TOKEN: ${{ github.token }} with: - shell: powershell + shell: pwsh telemetryScopeJson: ${{ steps.init.outputs.telemetryScopeJson }} currentJobContext: ${{ toJson(job) }} diff --git a/.github/workflows/CreateOnlineDevelopmentEnvironment.yaml b/.github/workflows/CreateOnlineDevelopmentEnvironment.yaml index 5466d76..86a5666 100644 --- a/.github/workflows/CreateOnlineDevelopmentEnvironment.yaml +++ b/.github/workflows/CreateOnlineDevelopmentEnvironment.yaml @@ -33,7 +33,7 @@ permissions: defaults: run: - shell: powershell + shell: pwsh env: ALGoOrgSettings: ${{ vars.ALGoOrgSettings }} @@ -42,7 +42,7 @@ env: jobs: Initialization: needs: [ ] - runs-on: [ windows-latest ] + runs-on: [ ubuntu-latest ] outputs: deviceCode: ${{ steps.authenticate.outputs.deviceCode }} githubRunner: ${{ steps.ReadSettings.outputs.GitHubRunnerJson }} @@ -52,7 +52,7 @@ jobs: - name: Dump Workflow Information uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh - name: Checkout uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 @@ -61,19 +61,19 @@ jobs: id: init uses: microsoft/AL-Go/Actions/WorkflowInitialize@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh - name: Read settings id: ReadSettings uses: microsoft/AL-Go/Actions/ReadSettings@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh - name: Read secrets id: ReadSecrets uses: microsoft/AL-Go/Actions/ReadSecrets@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh gitHubSecrets: ${{ toJson(secrets) }} getSecrets: 'adminCenterApiCredentials' @@ -114,13 +114,13 @@ jobs: - name: Read settings uses: microsoft/AL-Go/Actions/ReadSettings@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh - name: Read secrets id: ReadSecrets uses: microsoft/AL-Go/Actions/ReadSecrets@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh gitHubSecrets: ${{ toJson(secrets) }} getSecrets: 'adminCenterApiCredentials,TokenForPush' useGhTokenWorkflowForPush: '${{ github.event.inputs.useGhTokenWorkflow }}' @@ -139,7 +139,7 @@ jobs: - name: Create Development Environment uses: microsoft/AL-Go/Actions/CreateDevelopmentEnvironment@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh token: ${{ steps.ReadSecrets.outputs.TokenForPush }} environmentName: ${{ github.event.inputs.environmentName }} project: ${{ github.event.inputs.project }} @@ -153,6 +153,6 @@ jobs: env: GITHUB_TOKEN: ${{ github.token }} with: - shell: powershell + shell: pwsh telemetryScopeJson: ${{ needs.Initialization.outputs.telemetryScopeJson }} currentJobContext: ${{ toJson(job) }} diff --git a/.github/workflows/CreatePerformanceTestApp.yaml b/.github/workflows/CreatePerformanceTestApp.yaml index d0fd310..8c55618 100644 --- a/.github/workflows/CreatePerformanceTestApp.yaml +++ b/.github/workflows/CreatePerformanceTestApp.yaml @@ -45,7 +45,7 @@ permissions: defaults: run: - shell: powershell + shell: pwsh env: ALGoOrgSettings: ${{ vars.ALGoOrgSettings }} @@ -54,12 +54,12 @@ env: jobs: CreatePerformanceTestApp: needs: [ ] - runs-on: [ windows-latest ] + runs-on: [ ubuntu-latest ] steps: - name: Dump Workflow Information uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh - name: Checkout uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 @@ -68,18 +68,18 @@ jobs: id: init uses: microsoft/AL-Go/Actions/WorkflowInitialize@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh - name: Read settings uses: microsoft/AL-Go/Actions/ReadSettings@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh - name: Read secrets id: ReadSecrets uses: microsoft/AL-Go/Actions/ReadSecrets@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh gitHubSecrets: ${{ toJson(secrets) }} getSecrets: 'TokenForPush' useGhTokenWorkflowForPush: '${{ github.event.inputs.useGhTokenWorkflow }}' @@ -87,7 +87,7 @@ jobs: - name: Creating a new test app uses: microsoft/AL-Go/Actions/CreateApp@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh token: ${{ steps.ReadSecrets.outputs.TokenForPush }} project: ${{ github.event.inputs.project }} type: 'Performance Test App' @@ -104,6 +104,6 @@ jobs: env: GITHUB_TOKEN: ${{ github.token }} with: - shell: powershell + shell: pwsh telemetryScopeJson: ${{ steps.init.outputs.telemetryScopeJson }} currentJobContext: ${{ toJson(job) }} diff --git a/.github/workflows/CreateRelease.yaml b/.github/workflows/CreateRelease.yaml index 6d8e153..7de6348 100644 --- a/.github/workflows/CreateRelease.yaml +++ b/.github/workflows/CreateRelease.yaml @@ -55,7 +55,7 @@ concurrency: release defaults: run: - shell: powershell + shell: pwsh env: ALGoOrgSettings: ${{ vars.ALGoOrgSettings }} @@ -64,7 +64,7 @@ env: jobs: CreateRelease: needs: [ ] - runs-on: [ windows-latest ] + runs-on: [ ubuntu-latest ] outputs: artifacts: ${{ steps.analyzeartifacts.outputs.artifacts }} releaseId: ${{ steps.createrelease.outputs.releaseId }} @@ -75,7 +75,7 @@ jobs: - name: Dump Workflow Information uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh - name: Checkout uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 @@ -84,20 +84,20 @@ jobs: id: init uses: microsoft/AL-Go/Actions/WorkflowInitialize@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh - name: Read settings id: ReadSettings uses: microsoft/AL-Go/Actions/ReadSettings@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh get: templateUrl,repoName,type,powerPlatformSolutionFolder - name: Read secrets id: ReadSecrets uses: microsoft/AL-Go/Actions/ReadSecrets@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh gitHubSecrets: ${{ toJson(secrets) }} getSecrets: 'TokenForPush' useGhTokenWorkflowForPush: '${{ github.event.inputs.useGhTokenWorkflow }}' @@ -106,12 +106,12 @@ jobs: id: determineProjects uses: microsoft/AL-Go/Actions/DetermineProjectsToBuild@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh - name: Check for updates to AL-Go system files uses: microsoft/AL-Go/Actions/CheckForUpdates@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh templateUrl: ${{ env.templateUrl }} downloadLatest: true @@ -205,7 +205,7 @@ jobs: id: createreleasenotes uses: microsoft/AL-Go/Actions/CreateReleaseNotes@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh tag_name: ${{ github.event.inputs.tag }} target_commitish: ${{ steps.analyzeartifacts.outputs.commitish }} @@ -236,7 +236,7 @@ jobs: UploadArtifacts: needs: [ CreateRelease ] - runs-on: [ windows-latest ] + runs-on: [ ubuntu-latest ] strategy: matrix: ${{ fromJson(needs.CreateRelease.outputs.artifacts) }} fail-fast: true @@ -247,13 +247,13 @@ jobs: - name: Read settings uses: microsoft/AL-Go/Actions/ReadSettings@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh - name: Read secrets id: ReadSecrets uses: microsoft/AL-Go/Actions/ReadSecrets@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh gitHubSecrets: ${{ toJson(secrets) }} getSecrets: 'nuGetContext,storageContext,TokenForPush' useGhTokenWorkflowForPush: '${{ github.event.inputs.useGhTokenWorkflow }}' @@ -294,7 +294,7 @@ jobs: env: Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' with: - shell: powershell + shell: pwsh type: 'Release' projects: ${{ matrix.project }} deliveryTarget: 'NuGet' @@ -307,7 +307,7 @@ jobs: env: Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' with: - shell: powershell + shell: pwsh type: 'Release' projects: ${{ matrix.project }} deliveryTarget: 'Storage' @@ -317,7 +317,7 @@ jobs: CreateReleaseBranch: needs: [ CreateRelease, UploadArtifacts ] if: ${{ github.event.inputs.createReleaseBranch=='true' }} - runs-on: [ windows-latest ] + runs-on: [ ubuntu-latest ] steps: - name: Checkout uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 @@ -340,7 +340,7 @@ jobs: UpdateVersionNumber: needs: [ CreateRelease, UploadArtifacts ] if: ${{ github.event.inputs.updateVersionNumber!='' }} - runs-on: [ windows-latest ] + runs-on: [ ubuntu-latest ] steps: - name: Checkout uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 @@ -348,13 +348,13 @@ jobs: - name: Read settings uses: microsoft/AL-Go/Actions/ReadSettings@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh - name: Read secrets id: ReadSecrets uses: microsoft/AL-Go/Actions/ReadSecrets@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh gitHubSecrets: ${{ toJson(secrets) }} getSecrets: 'TokenForPush' useGhTokenWorkflowForPush: '${{ github.event.inputs.useGhTokenWorkflow }}' @@ -362,7 +362,7 @@ jobs: - name: Update Version Number uses: microsoft/AL-Go/Actions/IncrementVersionNumber@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh token: ${{ steps.ReadSecrets.outputs.TokenForPush }} versionNumber: ${{ github.event.inputs.updateVersionNumber }} directCommit: ${{ github.event.inputs.directCommit }} @@ -370,7 +370,7 @@ jobs: PostProcess: needs: [ CreateRelease, UploadArtifacts, CreateReleaseBranch, UpdateVersionNumber ] if: always() - runs-on: [ windows-latest ] + runs-on: [ ubuntu-latest ] steps: - name: Checkout uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 @@ -381,6 +381,6 @@ jobs: env: GITHUB_TOKEN: ${{ github.token }} with: - shell: powershell + shell: pwsh telemetryScopeJson: ${{ needs.CreateRelease.outputs.telemetryScopeJson }} currentJobContext: ${{ toJson(job) }} diff --git a/.github/workflows/CreateTestApp.yaml b/.github/workflows/CreateTestApp.yaml index 689678a..a503eef 100644 --- a/.github/workflows/CreateTestApp.yaml +++ b/.github/workflows/CreateTestApp.yaml @@ -41,7 +41,7 @@ permissions: defaults: run: - shell: powershell + shell: pwsh env: ALGoOrgSettings: ${{ vars.ALGoOrgSettings }} @@ -50,12 +50,12 @@ env: jobs: CreateTestApp: needs: [ ] - runs-on: [ windows-latest ] + runs-on: [ ubuntu-latest ] steps: - name: Dump Workflow Information uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh - name: Checkout uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 @@ -64,18 +64,18 @@ jobs: id: init uses: microsoft/AL-Go/Actions/WorkflowInitialize@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh - name: Read settings uses: microsoft/AL-Go/Actions/ReadSettings@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh - name: Read secrets id: ReadSecrets uses: microsoft/AL-Go/Actions/ReadSecrets@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh gitHubSecrets: ${{ toJson(secrets) }} getSecrets: 'TokenForPush' useGhTokenWorkflowForPush: '${{ github.event.inputs.useGhTokenWorkflow }}' @@ -83,7 +83,7 @@ jobs: - name: Creating a new test app uses: microsoft/AL-Go/Actions/CreateApp@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh token: ${{ steps.ReadSecrets.outputs.TokenForPush }} project: ${{ github.event.inputs.project }} type: 'Test App' @@ -99,6 +99,6 @@ jobs: env: GITHUB_TOKEN: ${{ github.token }} with: - shell: powershell + shell: pwsh telemetryScopeJson: ${{ steps.init.outputs.telemetryScopeJson }} currentJobContext: ${{ toJson(job) }} diff --git a/.github/workflows/Current.yaml b/.github/workflows/Current.yaml index 0fdc6c7..48fa947 100644 --- a/.github/workflows/Current.yaml +++ b/.github/workflows/Current.yaml @@ -10,7 +10,7 @@ permissions: defaults: run: - shell: powershell + shell: pwsh env: workflowDepth: 1 @@ -20,7 +20,7 @@ env: jobs: Initialization: needs: [ ] - runs-on: [ windows-latest ] + runs-on: [ ubuntu-latest ] outputs: projects: ${{ steps.determineProjectsToBuild.outputs.ProjectsJson }} projectDependenciesJson: ${{ steps.determineProjectsToBuild.outputs.ProjectDependenciesJson }} @@ -31,7 +31,7 @@ jobs: - name: Dump Workflow Information uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh - name: Checkout uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 @@ -42,13 +42,13 @@ jobs: id: init uses: microsoft/AL-Go/Actions/WorkflowInitialize@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh - name: Read settings id: ReadSettings uses: microsoft/AL-Go/Actions/ReadSettings@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh - name: Determine Workflow Depth id: DetermineWorkflowDepth @@ -59,7 +59,7 @@ jobs: id: determineProjectsToBuild uses: microsoft/AL-Go/Actions/DetermineProjectsToBuild@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh maxBuildDepth: ${{ env.workflowDepth }} Build: @@ -86,7 +86,7 @@ jobs: PostProcess: needs: [ Initialization, Build ] if: always() - runs-on: [ windows-latest ] + runs-on: [ ubuntu-latest ] steps: - name: Checkout uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 @@ -97,6 +97,6 @@ jobs: env: GITHUB_TOKEN: ${{ github.token }} with: - shell: powershell + shell: pwsh telemetryScopeJson: ${{ needs.Initialization.outputs.telemetryScopeJson }} currentJobContext: ${{ toJson(job) }} diff --git a/.github/workflows/DeployReferenceDocumentation.yaml b/.github/workflows/DeployReferenceDocumentation.yaml index 81934da..8325253 100644 --- a/.github/workflows/DeployReferenceDocumentation.yaml +++ b/.github/workflows/DeployReferenceDocumentation.yaml @@ -11,7 +11,7 @@ permissions: defaults: run: - shell: powershell + shell: pwsh env: ALGoOrgSettings: ${{ vars.ALGoOrgSettings }} @@ -19,7 +19,7 @@ env: jobs: DeployALDoc: - runs-on: [ windows-latest ] + runs-on: [ ubuntu-latest ] name: Deploy Reference Documentation environment: name: github-pages @@ -32,12 +32,12 @@ jobs: id: init uses: microsoft/AL-Go/Actions/WorkflowInitialize@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh - name: Read settings uses: microsoft/AL-Go/Actions/ReadSettings@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh - name: Determine Deployment Environments id: DetermineDeploymentEnvironments @@ -45,7 +45,7 @@ jobs: env: GITHUB_TOKEN: ${{ github.token }} with: - shell: powershell + shell: pwsh getEnvironments: 'github-pages' type: 'Publish' @@ -56,7 +56,7 @@ jobs: - name: Build Reference Documentation uses: microsoft/AL-Go/Actions/BuildReferenceDocumentation@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh artifacts: 'latest' - name: Upload pages artifact @@ -75,6 +75,6 @@ jobs: env: GITHUB_TOKEN: ${{ github.token }} with: - shell: powershell + shell: pwsh telemetryScopeJson: ${{ steps.init.outputs.telemetryScopeJson }} currentJobContext: ${{ toJson(job) }} diff --git a/.github/workflows/IncrementVersionNumber.yaml b/.github/workflows/IncrementVersionNumber.yaml index 20eb20d..8558a3b 100644 --- a/.github/workflows/IncrementVersionNumber.yaml +++ b/.github/workflows/IncrementVersionNumber.yaml @@ -29,7 +29,7 @@ permissions: defaults: run: - shell: powershell + shell: pwsh env: ALGoOrgSettings: ${{ vars.ALGoOrgSettings }} @@ -38,12 +38,12 @@ env: jobs: IncrementVersionNumber: needs: [ ] - runs-on: [ windows-latest ] + runs-on: [ ubuntu-latest ] steps: - name: Dump Workflow Information uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh - name: Checkout uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 @@ -52,18 +52,18 @@ jobs: id: init uses: microsoft/AL-Go/Actions/WorkflowInitialize@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh - name: Read settings uses: microsoft/AL-Go/Actions/ReadSettings@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh - name: Read secrets id: ReadSecrets uses: microsoft/AL-Go/Actions/ReadSecrets@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh gitHubSecrets: ${{ toJson(secrets) }} getSecrets: 'TokenForPush' useGhTokenWorkflowForPush: '${{ github.event.inputs.useGhTokenWorkflow }}' @@ -71,7 +71,7 @@ jobs: - name: Increment Version Number uses: microsoft/AL-Go/Actions/IncrementVersionNumber@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh token: ${{ steps.ReadSecrets.outputs.TokenForPush }} projects: ${{ github.event.inputs.projects }} versionNumber: ${{ github.event.inputs.versionNumber }} @@ -83,6 +83,6 @@ jobs: env: GITHUB_TOKEN: ${{ github.token }} with: - shell: powershell + shell: pwsh telemetryScopeJson: ${{ steps.init.outputs.telemetryScopeJson }} currentJobContext: ${{ toJson(job) }} diff --git a/.github/workflows/NextMajor.yaml b/.github/workflows/NextMajor.yaml index 75614bb..45ab2d5 100644 --- a/.github/workflows/NextMajor.yaml +++ b/.github/workflows/NextMajor.yaml @@ -10,7 +10,7 @@ permissions: defaults: run: - shell: powershell + shell: pwsh env: workflowDepth: 1 @@ -20,7 +20,7 @@ env: jobs: Initialization: needs: [ ] - runs-on: [ windows-latest ] + runs-on: [ ubuntu-latest ] outputs: projects: ${{ steps.determineProjectsToBuild.outputs.ProjectsJson }} projectDependenciesJson: ${{ steps.determineProjectsToBuild.outputs.ProjectDependenciesJson }} @@ -31,7 +31,7 @@ jobs: - name: Dump Workflow Information uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh - name: Checkout uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 @@ -42,13 +42,13 @@ jobs: id: init uses: microsoft/AL-Go/Actions/WorkflowInitialize@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh - name: Read settings id: ReadSettings uses: microsoft/AL-Go/Actions/ReadSettings@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh - name: Determine Workflow Depth id: DetermineWorkflowDepth @@ -59,7 +59,7 @@ jobs: id: determineProjectsToBuild uses: microsoft/AL-Go/Actions/DetermineProjectsToBuild@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh maxBuildDepth: ${{ env.workflowDepth }} Build: @@ -86,7 +86,7 @@ jobs: PostProcess: needs: [ Initialization, Build ] if: always() - runs-on: [ windows-latest ] + runs-on: [ ubuntu-latest ] steps: - name: Checkout uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 @@ -97,6 +97,6 @@ jobs: env: GITHUB_TOKEN: ${{ github.token }} with: - shell: powershell + shell: pwsh telemetryScopeJson: ${{ needs.Initialization.outputs.telemetryScopeJson }} currentJobContext: ${{ toJson(job) }} diff --git a/.github/workflows/NextMinor.yaml b/.github/workflows/NextMinor.yaml index 64a5f5a..1c92138 100644 --- a/.github/workflows/NextMinor.yaml +++ b/.github/workflows/NextMinor.yaml @@ -10,7 +10,7 @@ permissions: defaults: run: - shell: powershell + shell: pwsh env: workflowDepth: 1 @@ -20,7 +20,7 @@ env: jobs: Initialization: needs: [ ] - runs-on: [ windows-latest ] + runs-on: [ ubuntu-latest ] outputs: projects: ${{ steps.determineProjectsToBuild.outputs.ProjectsJson }} projectDependenciesJson: ${{ steps.determineProjectsToBuild.outputs.ProjectDependenciesJson }} @@ -31,7 +31,7 @@ jobs: - name: Dump Workflow Information uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh - name: Checkout uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 @@ -42,13 +42,13 @@ jobs: id: init uses: microsoft/AL-Go/Actions/WorkflowInitialize@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh - name: Read settings id: ReadSettings uses: microsoft/AL-Go/Actions/ReadSettings@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh - name: Determine Workflow Depth id: DetermineWorkflowDepth @@ -59,7 +59,7 @@ jobs: id: determineProjectsToBuild uses: microsoft/AL-Go/Actions/DetermineProjectsToBuild@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh maxBuildDepth: ${{ env.workflowDepth }} Build: @@ -86,7 +86,7 @@ jobs: PostProcess: needs: [ Initialization, Build ] if: always() - runs-on: [ windows-latest ] + runs-on: [ ubuntu-latest ] steps: - name: Checkout uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 @@ -97,6 +97,6 @@ jobs: env: GITHUB_TOKEN: ${{ github.token }} with: - shell: powershell + shell: pwsh telemetryScopeJson: ${{ needs.Initialization.outputs.telemetryScopeJson }} currentJobContext: ${{ toJson(job) }} diff --git a/.github/workflows/PublishToEnvironment.yaml b/.github/workflows/PublishToEnvironment.yaml index e7268d7..2cf004d 100644 --- a/.github/workflows/PublishToEnvironment.yaml +++ b/.github/workflows/PublishToEnvironment.yaml @@ -18,7 +18,7 @@ permissions: defaults: run: - shell: powershell + shell: pwsh env: ALGoOrgSettings: ${{ vars.ALGoOrgSettings }} @@ -27,7 +27,7 @@ env: jobs: Initialization: needs: [ ] - runs-on: [ windows-latest ] + runs-on: [ ubuntu-latest ] outputs: environmentsMatrixJson: ${{ steps.DetermineDeploymentEnvironments.outputs.EnvironmentsMatrixJson }} environmentCount: ${{ steps.DetermineDeploymentEnvironments.outputs.EnvironmentCount }} @@ -38,7 +38,7 @@ jobs: - name: Dump Workflow Information uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh - name: Checkout uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 @@ -47,13 +47,13 @@ jobs: id: init uses: microsoft/AL-Go/Actions/WorkflowInitialize@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh - name: Read settings id: ReadSettings uses: microsoft/AL-Go/Actions/ReadSettings@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh - name: Determine Deployment Environments id: DetermineDeploymentEnvironments @@ -61,7 +61,7 @@ jobs: env: GITHUB_TOKEN: ${{ github.token }} with: - shell: powershell + shell: pwsh getEnvironments: ${{ github.event.inputs.environmentName }} type: 'Publish' @@ -78,7 +78,7 @@ jobs: uses: microsoft/AL-Go/Actions/ReadSecrets@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 if: steps.DetermineDeploymentEnvironments.outputs.UnknownEnvironment == 1 with: - shell: powershell + shell: pwsh gitHubSecrets: ${{ toJson(secrets) }} getSecrets: '${{ steps.envName.outputs.envName }}-AuthContext,${{ steps.envName.outputs.envName }}_AuthContext,AuthContext' @@ -187,7 +187,7 @@ jobs: PostProcess: needs: [ Initialization, Deploy ] if: always() - runs-on: [ windows-latest ] + runs-on: [ ubuntu-latest ] steps: - name: Checkout uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 @@ -198,6 +198,6 @@ jobs: env: GITHUB_TOKEN: ${{ github.token }} with: - shell: powershell + shell: pwsh telemetryScopeJson: ${{ needs.Initialization.outputs.telemetryScopeJson }} currentJobContext: ${{ toJson(job) }} diff --git a/.github/workflows/PullRequestHandler.yaml b/.github/workflows/PullRequestHandler.yaml index 8ae196d..bc13e03 100644 --- a/.github/workflows/PullRequestHandler.yaml +++ b/.github/workflows/PullRequestHandler.yaml @@ -10,7 +10,7 @@ concurrency: defaults: run: - shell: powershell + shell: pwsh permissions: actions: read @@ -33,7 +33,7 @@ jobs: Initialization: needs: [ PregateCheck ] if: (!failure() && !cancelled()) - runs-on: [ windows-latest ] + runs-on: [ ubuntu-latest ] outputs: projects: ${{ steps.determineProjectsToBuild.outputs.ProjectsJson }} projectDependenciesJson: ${{ steps.determineProjectsToBuild.outputs.ProjectDependenciesJson }} @@ -45,7 +45,7 @@ jobs: - name: Dump Workflow Information uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh - name: Checkout uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 @@ -57,13 +57,13 @@ jobs: id: init uses: microsoft/AL-Go/Actions/WorkflowInitialize@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh - name: Read settings id: ReadSettings uses: microsoft/AL-Go/Actions/ReadSettings@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh - name: Determine Workflow Depth id: DetermineWorkflowDepth @@ -74,7 +74,7 @@ jobs: id: determineProjectsToBuild uses: microsoft/AL-Go/Actions/DetermineProjectsToBuild@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh maxBuildDepth: ${{ env.workflowDepth }} Build: @@ -103,7 +103,7 @@ jobs: StatusCheck: needs: [ Initialization, Build ] if: (!cancelled()) - runs-on: [ windows-latest ] + runs-on: [ ubuntu-latest ] name: Pull Request Status Check steps: - name: Pull Request Status Check @@ -112,7 +112,7 @@ jobs: env: GITHUB_TOKEN: ${{ github.token }} with: - shell: powershell + shell: pwsh - name: Finalize the workflow id: PostProcess @@ -121,6 +121,6 @@ jobs: env: GITHUB_TOKEN: ${{ github.token }} with: - shell: powershell + shell: pwsh telemetryScopeJson: ${{ needs.Initialization.outputs.telemetryScopeJson }} currentJobContext: ${{ toJson(job) }} diff --git a/.github/workflows/Troubleshooting.yaml b/.github/workflows/Troubleshooting.yaml index bf186ae..b8225e2 100644 --- a/.github/workflows/Troubleshooting.yaml +++ b/.github/workflows/Troubleshooting.yaml @@ -14,7 +14,7 @@ permissions: defaults: run: - shell: powershell + shell: pwsh env: ALGoOrgSettings: ${{ vars.ALGoOrgSettings }} @@ -22,7 +22,7 @@ env: jobs: Troubleshooting: - runs-on: [ windows-latest ] + runs-on: [ ubuntu-latest ] steps: - name: Checkout uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 @@ -32,6 +32,6 @@ jobs: - name: Troubleshooting uses: microsoft/AL-Go/Actions/Troubleshooting@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh gitHubSecrets: ${{ toJson(secrets) }} displayNameOfSecrets: ${{ github.event.inputs.displayNameOfSecrets }} diff --git a/.github/workflows/UpdateGitHubGoSystemFiles.yaml b/.github/workflows/UpdateGitHubGoSystemFiles.yaml index 9ee9520..da173d3 100644 --- a/.github/workflows/UpdateGitHubGoSystemFiles.yaml +++ b/.github/workflows/UpdateGitHubGoSystemFiles.yaml @@ -23,7 +23,7 @@ permissions: defaults: run: - shell: powershell + shell: pwsh env: ALGoOrgSettings: ${{ vars.ALGoOrgSettings }} @@ -33,12 +33,12 @@ jobs: UpdateALGoSystemFiles: name: 'Update AL-Go System Files' needs: [ ] - runs-on: [ windows-latest ] + runs-on: [ ubuntu-latest ] steps: - name: Dump Workflow Information uses: microsoft/AL-Go/Actions/DumpWorkflowInfo@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh - name: Checkout uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 @@ -47,19 +47,19 @@ jobs: id: init uses: microsoft/AL-Go/Actions/WorkflowInitialize@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh - name: Read settings uses: microsoft/AL-Go/Actions/ReadSettings@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh get: templateUrl - name: Read secrets id: ReadSecrets uses: microsoft/AL-Go/Actions/ReadSecrets@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh gitHubSecrets: ${{ toJson(secrets) }} getSecrets: 'ghTokenWorkflow' @@ -95,7 +95,7 @@ jobs: - name: Update AL-Go system files uses: microsoft/AL-Go/Actions/CheckForUpdates@a46044fa1ffca4b1ff05d2d1844fd7d5922c6984 with: - shell: powershell + shell: pwsh token: ${{ fromJson(steps.ReadSecrets.outputs.Secrets).ghTokenWorkflow }} downloadLatest: ${{ env.downloadLatest }} update: 'Y' @@ -108,6 +108,6 @@ jobs: env: GITHUB_TOKEN: ${{ github.token }} with: - shell: powershell + shell: pwsh telemetryScopeJson: ${{ steps.init.outputs.telemetryScopeJson }} currentJobContext: ${{ toJson(job) }}