diff --git a/.AL-Go/cloudDevEnv.ps1 b/.AL-Go/cloudDevEnv.ps1 index 7664a3c..53f7e9d 100644 --- a/.AL-Go/cloudDevEnv.ps1 +++ b/.AL-Go/cloudDevEnv.ps1 @@ -51,12 +51,12 @@ Write-Host -ForegroundColor Yellow @' $tmpFolder = Join-Path ([System.IO.Path]::GetTempPath()) "$([Guid]::NewGuid().ToString())" New-Item -Path $tmpFolder -ItemType Directory -Force | Out-Null -$GitHubHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v7.3/Github-Helper.psm1' -folder $tmpFolder -notifyAuthenticatedAttempt -$ReadSettingsModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v7.3/.Modules/ReadSettings.psm1' -folder $tmpFolder -$debugLoggingModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v7.3/.Modules/DebugLogHelper.psm1' -folder $tmpFolder -$ALGoHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v7.3/AL-Go-Helper.ps1' -folder $tmpFolder -DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v7.3/.Modules/settings.schema.json' -folder $tmpFolder | Out-Null -DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v7.3/Environment.Packages.proj' -folder $tmpFolder | Out-Null +$GitHubHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.0/Github-Helper.psm1' -folder $tmpFolder -notifyAuthenticatedAttempt +$ReadSettingsModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.0/.Modules/ReadSettings.psm1' -folder $tmpFolder +$debugLoggingModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.0/.Modules/DebugLogHelper.psm1' -folder $tmpFolder +$ALGoHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.0/AL-Go-Helper.ps1' -folder $tmpFolder +DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.0/.Modules/settings.schema.json' -folder $tmpFolder | Out-Null +DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.0/Environment.Packages.proj' -folder $tmpFolder | Out-Null Import-Module $GitHubHelperPath Import-Module $ReadSettingsModule diff --git a/.AL-Go/localDevEnv.ps1 b/.AL-Go/localDevEnv.ps1 index 2761b90..a567789 100644 --- a/.AL-Go/localDevEnv.ps1 +++ b/.AL-Go/localDevEnv.ps1 @@ -55,12 +55,12 @@ Write-Host -ForegroundColor Yellow @' $tmpFolder = Join-Path ([System.IO.Path]::GetTempPath()) "$([Guid]::NewGuid().ToString())" New-Item -Path $tmpFolder -ItemType Directory -Force | Out-Null -$GitHubHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v7.3/Github-Helper.psm1' -folder $tmpFolder -notifyAuthenticatedAttempt -$ReadSettingsModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v7.3/.Modules/ReadSettings.psm1' -folder $tmpFolder -$debugLoggingModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v7.3/.Modules/DebugLogHelper.psm1' -folder $tmpFolder -$ALGoHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v7.3/AL-Go-Helper.ps1' -folder $tmpFolder -DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v7.3/.Modules/settings.schema.json' -folder $tmpFolder | Out-Null -DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v7.3/Environment.Packages.proj' -folder $tmpFolder | Out-Null +$GitHubHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.0/Github-Helper.psm1' -folder $tmpFolder -notifyAuthenticatedAttempt +$ReadSettingsModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.0/.Modules/ReadSettings.psm1' -folder $tmpFolder +$debugLoggingModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.0/.Modules/DebugLogHelper.psm1' -folder $tmpFolder +$ALGoHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.0/AL-Go-Helper.ps1' -folder $tmpFolder +DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.0/.Modules/settings.schema.json' -folder $tmpFolder | Out-Null +DownloadHelperFile -url 'https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.0/Environment.Packages.proj' -folder $tmpFolder | Out-Null Import-Module $GitHubHelperPath Import-Module $ReadSettingsModule diff --git a/.AL-Go/settings.json b/.AL-Go/settings.json index 783d300..e629153 100644 --- a/.AL-Go/settings.json +++ b/.AL-Go/settings.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v7.3/.Modules/settings.schema.json", + "$schema": "https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.0/.Modules/settings.schema.json", "country": "lt", "doNotPublishApps": true, "useCompilerFolder": true, diff --git a/.github/AL-Go-Settings.json b/.github/AL-Go-Settings.json index 8affb8d..505a62e 100644 --- a/.github/AL-Go-Settings.json +++ b/.github/AL-Go-Settings.json @@ -1,8 +1,8 @@ { - "$schema": "https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v7.3/.Modules/settings.schema.json", + "$schema": "https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.0/.Modules/settings.schema.json", "type": "AppSource App", "templateUrl": "https://github.com/microsoft/AL-Go-AppSource@main", - "templateSha": "1c3e3241f43c58b418c8bfccedbc5a9a75869e39", + "templateSha": "0fa7e9756b6e3ad9389c206b124646ae2e2eab08", "PartnerTelemetryConnectionString": "InstrumentationKey=5400e864-5abd-496c-837c-5fbea9914cb9;IngestionEndpoint=https://polandcentral-0.in.applicationinsights.azure.com/;LiveEndpoint=https://polandcentral.livediagnostics.monitor.azure.com/;ApplicationId=ccc6d211-3dd5-4ad1-8bec-db44e3dd9499", "doNotRunBcptTests": true, "doNotRunTests": true, diff --git a/.github/RELEASENOTES.copy.md b/.github/RELEASENOTES.copy.md index b1fa72a..66dbf7a 100644 --- a/.github/RELEASENOTES.copy.md +++ b/.github/RELEASENOTES.copy.md @@ -1,3 +1,31 @@ +## v8.0 + +### Mechanism to overwrite complex settings type + +By default, AL-Go merges settings from various places (see [settings levels](https://aka.ms/algosettings#where-are-the-settings-located)). Basic setting types such as `string` and `integer` are overwritten, but settings with complex types such as `array` and `object` are merged. + +However, sometimes it is useful to avoid merging complex types. This can be achieved by specifying `overwriteSettings` property on a settings object. The purpose of the property is to list settings, for which the value will be overwritten, instead of merged. Read more at [overwriteSettings property](https://aka.ms/algosettings#overwriteSettings) + +### AL Code Analysis tracked in GitHub + +AL-Go already supports AL code analysis, but up until now this was not tracked in GitHub. It is now possible to track code analysis issues automatically in the GitHub security tab, as well as having any new issues posted as a comment in Pull Requests. + +Enable this feature by using the new setting [trackALAlertsInGithub](https://aka.ms/algosettings#trackALAlertsInGithub). This setting must be enabled at the repo level, but can optionally be disabled per project. + +Please note that some automated features are premium and require the use of [GitHub Code Security](https://docs.github.com/en/get-started/learning-about-github/about-github-advanced-security) + +### Issues + +- Discussion 1885 Conditional settings for CI/CD are not applied +- Discussion 1899 Remove optional properties from "required" list in settings.schema.json +- Issue 1905 AL-Go system files update fails (Get Workflow Multi-Run Branches action fails when there are tags with same value but different casing) +- Issue 1926 Deployment fails when using build modes +- Issue 1898 GetDependencies in localDevEnv does not fallback to github token +- Issue 1947 Project settings are ignored when loading bccontainerhelper +- Issue 1937 trackALAlertsInGitHub is failing in preview +- DeployTo settings from environment-specific AL-Go settings are not applied when deploying +- `ReadSettings` action outputs too much information that is mainly used for debugging + ## v7.3 ### Configurable merge method for pull request auto-merge @@ -19,7 +47,7 @@ Example AL-Go now offers a dataexplorer dashboard to get started with AL-Go telemetry. Additionally, we've updated the documentation to include a couple of kusto queries if you would rather build your own reports. -### Support for AL-Go settings as GitHub environment variable: ALGoEnvSettings +### Support for AL-Go settings as GitHub environment variable: ALGoEnvironmentSettings AL-Go settings can now be defined in GitHub environment variables. To use this feature, create a new variable under your GitHub environment called `ALGoEnvironmentSettings`. Please note that this variable should not include your environment name. diff --git a/.github/Test Current.settings.json b/.github/Test Current.settings.json index 5b3bc1e..dbb58a5 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-Actions/v7.3/settings.schema.json", + "$schema": "https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.0/settings.schema.json", "artifact": "////latest", "cacheImageName": "", "versioningStrategy": 15 diff --git a/.github/Test Next Major.settings.json b/.github/Test Next Major.settings.json index 0287481..edb171b 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-Actions/v7.3/settings.schema.json", + "$schema": "https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.0/settings.schema.json", "artifact": "////nextmajor", "cacheImageName": "", "versioningStrategy": 15 diff --git a/.github/Test Next Minor.settings.json b/.github/Test Next Minor.settings.json index b119b81..f0c2c53 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-Actions/v7.3/settings.schema.json", + "$schema": "https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.0/settings.schema.json", "artifact": "////nextminor", "cacheImageName": "", "versioningStrategy": 15 diff --git a/.github/workflows/AddExistingAppOrTestApp.yaml b/.github/workflows/AddExistingAppOrTestApp.yaml index 8c42266..316fdb4 100644 --- a/.github/workflows/AddExistingAppOrTestApp.yaml +++ b/.github/workflows/AddExistingAppOrTestApp.yaml @@ -41,7 +41,7 @@ jobs: runs-on: [ windows-latest ] steps: - name: Dump Workflow Information - uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v7.3 + uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v8.0 with: shell: powershell @@ -50,18 +50,18 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go-Actions/WorkflowInitialize@v7.3 + uses: microsoft/AL-Go-Actions/WorkflowInitialize@v8.0 with: shell: powershell - name: Read settings - uses: microsoft/AL-Go-Actions/ReadSettings@v7.3 + uses: microsoft/AL-Go-Actions/ReadSettings@v8.0 with: shell: powershell - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go-Actions/ReadSecrets@v7.3 + uses: microsoft/AL-Go-Actions/ReadSecrets@v8.0 with: shell: powershell gitHubSecrets: ${{ toJson(secrets) }} @@ -69,7 +69,7 @@ jobs: useGhTokenWorkflowForPush: '${{ github.event.inputs.useGhTokenWorkflow }}' - name: Add existing app - uses: microsoft/AL-Go-Actions/AddExistingApp@v7.3 + uses: microsoft/AL-Go-Actions/AddExistingApp@v8.0 with: shell: powershell token: ${{ steps.ReadSecrets.outputs.TokenForPush }} @@ -79,7 +79,7 @@ jobs: - name: Finalize the workflow if: always() - uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v7.3 + uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v8.0 env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/CICD.yaml b/.github/workflows/CICD.yaml index 9865460..cc1deee 100644 --- a/.github/workflows/CICD.yaml +++ b/.github/workflows/CICD.yaml @@ -18,6 +18,7 @@ permissions: contents: read id-token: write pages: read + security-events: write env: workflowDepth: 1 @@ -46,9 +47,10 @@ jobs: baselineWorkflowSHA: ${{ steps.determineProjectsToBuild.outputs.BaselineWorkflowSHA }} workflowDepth: ${{ steps.DetermineWorkflowDepth.outputs.WorkflowDepth }} powerPlatformSolutionFolder: ${{ steps.DeterminePowerPlatformSolutionFolder.outputs.powerPlatformSolutionFolder }} + trackALAlertsInGitHub: ${{ steps.SetALCodeAnalysisVar.outputs.trackALAlertsInGitHub }} steps: - name: Dump Workflow Information - uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v7.3 + uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v8.0 with: shell: powershell @@ -59,21 +61,27 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go-Actions/WorkflowInitialize@v7.3 + uses: microsoft/AL-Go-Actions/WorkflowInitialize@v8.0 with: shell: powershell - name: Read settings id: ReadSettings - uses: microsoft/AL-Go-Actions/ReadSettings@v7.3 + uses: microsoft/AL-Go-Actions/ReadSettings@v8.0 with: shell: powershell - get: type,powerPlatformSolutionFolder,useGitSubmodules + get: type,powerPlatformSolutionFolder,useGitSubmodules,trackALAlertsInGitHub + + - name: Set AL Code Analysis Var output + id: SetALCodeAnalysisVar + run: | + Write-Host "trackALAlertsInGitHub environment variable: '$($env:trackALAlertsInGitHub)'" + Add-Content -Encoding UTF8 -Path $env:GITHUB_OUTPUT -Value "trackALAlertsInGitHub=$($env:trackALAlertsInGitHub)" - name: Read submodules token id: ReadSubmodulesToken if: env.useGitSubmodules != 'false' && env.useGitSubmodules != '' - uses: microsoft/AL-Go-Actions/ReadSecrets@v7.3 + uses: microsoft/AL-Go-Actions/ReadSecrets@v8.0 with: shell: powershell gitHubSecrets: ${{ toJson(secrets) }} @@ -94,7 +102,7 @@ jobs: - name: Determine Projects To Build id: determineProjectsToBuild - uses: microsoft/AL-Go-Actions/DetermineProjectsToBuild@v7.3 + uses: microsoft/AL-Go-Actions/DetermineProjectsToBuild@v8.0 with: shell: powershell maxBuildDepth: ${{ env.workflowDepth }} @@ -107,7 +115,7 @@ jobs: - name: Determine Delivery Target Secrets id: DetermineDeliveryTargetSecrets - uses: microsoft/AL-Go-Actions/DetermineDeliveryTargets@v7.3 + uses: microsoft/AL-Go-Actions/DetermineDeliveryTargets@v8.0 with: shell: powershell projectsJson: '${{ steps.determineProjectsToBuild.outputs.ProjectsJson }}' @@ -115,7 +123,7 @@ jobs: - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go-Actions/ReadSecrets@v7.3 + uses: microsoft/AL-Go-Actions/ReadSecrets@v8.0 with: shell: powershell gitHubSecrets: ${{ toJson(secrets) }} @@ -123,7 +131,7 @@ jobs: - name: Determine Delivery Targets id: DetermineDeliveryTargets - uses: microsoft/AL-Go-Actions/DetermineDeliveryTargets@v7.3 + uses: microsoft/AL-Go-Actions/DetermineDeliveryTargets@v8.0 env: Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' with: @@ -133,7 +141,7 @@ jobs: - name: Determine Deployment Environments id: DetermineDeploymentEnvironments - uses: microsoft/AL-Go-Actions/DetermineDeploymentEnvironments@v7.3 + uses: microsoft/AL-Go-Actions/DetermineDeploymentEnvironments@v8.0 env: GITHUB_TOKEN: ${{ github.token }} with: @@ -149,21 +157,21 @@ jobs: uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 - name: Read settings - uses: microsoft/AL-Go-Actions/ReadSettings@v7.3 + uses: microsoft/AL-Go-Actions/ReadSettings@v8.0 with: shell: powershell get: templateUrl - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go-Actions/ReadSecrets@v7.3 + uses: microsoft/AL-Go-Actions/ReadSecrets@v8.0 with: shell: powershell gitHubSecrets: ${{ toJson(secrets) }} getSecrets: 'ghTokenWorkflow' - name: Check for updates to AL-Go system files - uses: microsoft/AL-Go-Actions/CheckForUpdates@v7.3 + uses: microsoft/AL-Go-Actions/CheckForUpdates@v8.0 env: GITHUB_TOKEN: ${{ github.token }} with: @@ -197,6 +205,37 @@ jobs: useArtifactCache: true needsContext: ${{ toJson(needs) }} + CodeAnalysisUpload: + needs: [ Initialization, Build ] + if: (!cancelled()) && (needs.Initialization.outputs.trackALAlertsInGitHub == 'True') + runs-on: [ windows-latest ] + name: Code Analysis Processing + steps: + - name: Checkout + uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 + + - name: Download artifacts - ErrorLogs + uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0 + if: (success() || failure()) + with: + pattern: '*-ErrorLogs-*' + path: '${{ github.workspace }}/ErrorLogs/' + merge-multiple: true + + - name: Process AL Code Analysis Logs + id: ProcessALCodeAnalysisLogs + if: (success() || failure()) + uses: microsoft/AL-Go-Actions/ProcessALCodeAnalysisLogs@v8.0 + with: + shell: powershell + + - name: Upload SARIF file to GitHub + uses: github/codeql-action/upload-sarif@v4 + if: (success() || failure()) && (hashFiles(format('{0}/ErrorLogs/output.sarif.json',github.workspace)) != '') + with: + sarif_file: '${{ github.workspace }}/ErrorLogs/output.sarif.json' + category: "ALCodeAnalysis" + DeployALDoc: needs: [ Initialization, Build ] if: (!cancelled()) && (needs.Build.result == 'success' || needs.Build.result == 'skipped') && needs.Initialization.outputs.generateALDocArtifact == 1 && github.ref_name == 'main' @@ -220,7 +259,7 @@ jobs: path: '.artifacts' - name: Read settings - uses: microsoft/AL-Go-Actions/ReadSettings@v7.3 + uses: microsoft/AL-Go-Actions/ReadSettings@v8.0 with: shell: powershell @@ -229,7 +268,7 @@ jobs: uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0 - name: Build Reference Documentation - uses: microsoft/AL-Go-Actions/BuildReferenceDocumentation@v7.3 + uses: microsoft/AL-Go-Actions/BuildReferenceDocumentation@v8.0 with: shell: powershell artifacts: '.artifacts' @@ -269,7 +308,7 @@ jobs: path: '.artifacts' - name: Read settings - uses: microsoft/AL-Go-Actions/ReadSettings@v7.3 + uses: microsoft/AL-Go-Actions/ReadSettings@v8.0 with: shell: ${{ matrix.shell }} get: type,powerPlatformSolutionFolder @@ -283,7 +322,7 @@ jobs: - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go-Actions/ReadSecrets@v7.3 + uses: microsoft/AL-Go-Actions/ReadSecrets@v8.0 with: shell: ${{ matrix.shell }} gitHubSecrets: ${{ toJson(secrets) }} @@ -291,7 +330,7 @@ jobs: - name: Deploy to Business Central id: Deploy - uses: microsoft/AL-Go-Actions/Deploy@v7.3 + uses: microsoft/AL-Go-Actions/Deploy@v8.0 env: Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' with: @@ -303,7 +342,7 @@ jobs: - name: Deploy to Power Platform if: env.type == 'PTE' && env.powerPlatformSolutionFolder != '' - uses: microsoft/AL-Go-Actions/DeployPowerPlatform@v7.3 + uses: microsoft/AL-Go-Actions/DeployPowerPlatform@v8.0 env: Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' with: @@ -331,20 +370,20 @@ jobs: path: '.artifacts' - name: Read settings - uses: microsoft/AL-Go-Actions/ReadSettings@v7.3 + uses: microsoft/AL-Go-Actions/ReadSettings@v8.0 with: shell: powershell - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go-Actions/ReadSecrets@v7.3 + uses: microsoft/AL-Go-Actions/ReadSecrets@v8.0 with: shell: powershell gitHubSecrets: ${{ toJson(secrets) }} getSecrets: '${{ matrix.deliveryTarget }}Context' - name: Deliver - uses: microsoft/AL-Go-Actions/Deliver@v7.3 + uses: microsoft/AL-Go-Actions/Deliver@v8.0 env: Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' with: @@ -364,7 +403,7 @@ jobs: - name: Finalize the workflow id: PostProcess - uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v7.3 + uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v8.0 env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/CreateApp.yaml b/.github/workflows/CreateApp.yaml index 90656f6..0d7fe6e 100644 --- a/.github/workflows/CreateApp.yaml +++ b/.github/workflows/CreateApp.yaml @@ -51,7 +51,7 @@ jobs: runs-on: [ windows-latest ] steps: - name: Dump Workflow Information - uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v7.3 + uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v8.0 with: shell: powershell @@ -60,19 +60,19 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go-Actions/WorkflowInitialize@v7.3 + uses: microsoft/AL-Go-Actions/WorkflowInitialize@v8.0 with: shell: powershell - name: Read settings - uses: microsoft/AL-Go-Actions/ReadSettings@v7.3 + uses: microsoft/AL-Go-Actions/ReadSettings@v8.0 with: shell: powershell get: type - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go-Actions/ReadSecrets@v7.3 + uses: microsoft/AL-Go-Actions/ReadSecrets@v8.0 with: shell: powershell gitHubSecrets: ${{ toJson(secrets) }} @@ -80,7 +80,7 @@ jobs: useGhTokenWorkflowForPush: '${{ github.event.inputs.useGhTokenWorkflow }}' - name: Creating a new app - uses: microsoft/AL-Go-Actions/CreateApp@v7.3 + uses: microsoft/AL-Go-Actions/CreateApp@v8.0 with: shell: powershell token: ${{ steps.ReadSecrets.outputs.TokenForPush }} @@ -94,7 +94,7 @@ jobs: - name: Finalize the workflow if: always() - uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v7.3 + uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v8.0 env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/CreateOnlineDevelopmentEnvironment.yaml b/.github/workflows/CreateOnlineDevelopmentEnvironment.yaml index 97b52df..b129b65 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.3 + uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v8.0 with: shell: powershell @@ -59,19 +59,19 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go-Actions/WorkflowInitialize@v7.3 + uses: microsoft/AL-Go-Actions/WorkflowInitialize@v8.0 with: shell: powershell - name: Read settings id: ReadSettings - uses: microsoft/AL-Go-Actions/ReadSettings@v7.3 + uses: microsoft/AL-Go-Actions/ReadSettings@v8.0 with: shell: powershell - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go-Actions/ReadSecrets@v7.3 + uses: microsoft/AL-Go-Actions/ReadSecrets@v8.0 with: shell: powershell 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.3/AL-Go-Helper.ps1', $ALGoHelperPath) + $webClient.DownloadFile('https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.0/AL-Go-Helper.ps1', $ALGoHelperPath) . $ALGoHelperPath DownloadAndImportBcContainerHelper $authContext = New-BcAuthContext -includeDeviceLogin -deviceLoginTimeout ([TimeSpan]::FromSeconds(0)) @@ -112,13 +112,13 @@ jobs: uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 - name: Read settings - uses: microsoft/AL-Go-Actions/ReadSettings@v7.3 + uses: microsoft/AL-Go-Actions/ReadSettings@v8.0 with: shell: powershell - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go-Actions/ReadSecrets@v7.3 + uses: microsoft/AL-Go-Actions/ReadSecrets@v8.0 with: shell: powershell 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.3 + uses: microsoft/AL-Go-Actions/CreateDevelopmentEnvironment@v8.0 with: shell: powershell token: ${{ steps.ReadSecrets.outputs.TokenForPush }} @@ -149,7 +149,7 @@ jobs: - name: Finalize the workflow if: always() - uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v7.3 + uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v8.0 env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/CreatePerformanceTestApp.yaml b/.github/workflows/CreatePerformanceTestApp.yaml index 359e255..cae6660 100644 --- a/.github/workflows/CreatePerformanceTestApp.yaml +++ b/.github/workflows/CreatePerformanceTestApp.yaml @@ -57,7 +57,7 @@ jobs: runs-on: [ windows-latest ] steps: - name: Dump Workflow Information - uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v7.3 + uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v8.0 with: shell: powershell @@ -66,18 +66,18 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go-Actions/WorkflowInitialize@v7.3 + uses: microsoft/AL-Go-Actions/WorkflowInitialize@v8.0 with: shell: powershell - name: Read settings - uses: microsoft/AL-Go-Actions/ReadSettings@v7.3 + uses: microsoft/AL-Go-Actions/ReadSettings@v8.0 with: shell: powershell - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go-Actions/ReadSecrets@v7.3 + uses: microsoft/AL-Go-Actions/ReadSecrets@v8.0 with: shell: powershell gitHubSecrets: ${{ toJson(secrets) }} @@ -85,7 +85,7 @@ jobs: useGhTokenWorkflowForPush: '${{ github.event.inputs.useGhTokenWorkflow }}' - name: Creating a new test app - uses: microsoft/AL-Go-Actions/CreateApp@v7.3 + uses: microsoft/AL-Go-Actions/CreateApp@v8.0 with: shell: powershell token: ${{ steps.ReadSecrets.outputs.TokenForPush }} @@ -100,7 +100,7 @@ jobs: - name: Finalize the workflow if: always() - uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v7.3 + uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v8.0 env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/CreateRelease.yaml b/.github/workflows/CreateRelease.yaml index 7a28226..ba0bca2 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.3 + uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v8.0 with: shell: powershell @@ -87,26 +87,26 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go-Actions/WorkflowInitialize@v7.3 + uses: microsoft/AL-Go-Actions/WorkflowInitialize@v8.0 with: shell: powershell - name: Read settings id: ReadSettings - uses: microsoft/AL-Go-Actions/ReadSettings@v7.3 + uses: microsoft/AL-Go-Actions/ReadSettings@v8.0 with: shell: powershell get: templateUrl,repoName,type,powerPlatformSolutionFolder - name: Validate Workflow Input if: ${{ github.event_name == 'workflow_dispatch' }} - uses: microsoft/AL-Go-Actions/ValidateWorkflowInput@v7.3 + uses: microsoft/AL-Go-Actions/ValidateWorkflowInput@v8.0 with: shell: powershell - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go-Actions/ReadSecrets@v7.3 + uses: microsoft/AL-Go-Actions/ReadSecrets@v8.0 with: shell: powershell gitHubSecrets: ${{ toJson(secrets) }} @@ -115,12 +115,12 @@ jobs: - name: Determine Projects id: determineProjects - uses: microsoft/AL-Go-Actions/DetermineProjectsToBuild@v7.3 + uses: microsoft/AL-Go-Actions/DetermineProjectsToBuild@v8.0 with: shell: powershell - name: Check for updates to AL-Go system files - uses: microsoft/AL-Go-Actions/CheckForUpdates@v7.3 + uses: microsoft/AL-Go-Actions/CheckForUpdates@v8.0 env: GITHUB_TOKEN: ${{ github.token }} with: @@ -130,7 +130,7 @@ jobs: downloadLatest: true - name: Determine artifacts for release - uses: microsoft/AL-Go-Actions/DetermineArtifactsForRelease@v7.3 + uses: microsoft/AL-Go-Actions/DetermineArtifactsForRelease@v8.0 id: determineArtifactsForRelease with: shell: powershell @@ -141,7 +141,7 @@ jobs: - name: Prepare release notes id: createreleasenotes - uses: microsoft/AL-Go-Actions/CreateReleaseNotes@v7.3 + uses: microsoft/AL-Go-Actions/CreateReleaseNotes@v8.0 with: shell: powershell buildVersion: ${{ github.event.inputs.buildVersion }} @@ -149,7 +149,7 @@ jobs: target_commitish: ${{ steps.determineArtifactsForRelease.outputs.commitish }} - name: Create release - uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 id: createrelease env: bodyMD: ${{ steps.createreleasenotes.outputs.releaseNotes }} @@ -190,13 +190,13 @@ jobs: uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 - name: Read settings - uses: microsoft/AL-Go-Actions/ReadSettings@v7.3 + uses: microsoft/AL-Go-Actions/ReadSettings@v8.0 with: shell: powershell - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go-Actions/ReadSecrets@v7.3 + uses: microsoft/AL-Go-Actions/ReadSecrets@v8.0 with: shell: powershell gitHubSecrets: ${{ toJson(secrets) }} @@ -219,7 +219,7 @@ jobs: Invoke-WebRequest -UseBasicParsing -Headers $headers -Uri $ENV:MATRIX_URL -OutFile "$($ENV:MATRIX_NAME).zip" - name: Upload release artifacts - uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 env: releaseId: ${{ needs.createrelease.outputs.releaseId }} MATRIX_NAME: ${{ matrix.name }} @@ -240,7 +240,7 @@ jobs: }); - name: Deliver to NuGet - uses: microsoft/AL-Go-Actions/Deliver@v7.3 + uses: microsoft/AL-Go-Actions/Deliver@v8.0 if: ${{ fromJson(steps.ReadSecrets.outputs.Secrets).nuGetContext != '' }} env: Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' @@ -253,7 +253,7 @@ jobs: atypes: 'Apps,TestApps' - name: Deliver to Storage - uses: microsoft/AL-Go-Actions/Deliver@v7.3 + uses: microsoft/AL-Go-Actions/Deliver@v8.0 if: ${{ fromJson(steps.ReadSecrets.outputs.Secrets).storageContext != '' }} env: Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' @@ -297,13 +297,13 @@ jobs: uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 - name: Read settings - uses: microsoft/AL-Go-Actions/ReadSettings@v7.3 + uses: microsoft/AL-Go-Actions/ReadSettings@v8.0 with: shell: powershell - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go-Actions/ReadSecrets@v7.3 + uses: microsoft/AL-Go-Actions/ReadSecrets@v8.0 with: shell: powershell gitHubSecrets: ${{ toJson(secrets) }} @@ -311,7 +311,7 @@ jobs: useGhTokenWorkflowForPush: '${{ github.event.inputs.useGhTokenWorkflow }}' - name: Update Version Number - uses: microsoft/AL-Go-Actions/IncrementVersionNumber@v7.3 + uses: microsoft/AL-Go-Actions/IncrementVersionNumber@v8.0 with: shell: powershell token: ${{ steps.ReadSecrets.outputs.TokenForPush }} @@ -329,7 +329,7 @@ jobs: - name: Finalize the workflow id: PostProcess - uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v7.3 + uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v8.0 env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/CreateTestApp.yaml b/.github/workflows/CreateTestApp.yaml index 6f76e15..3a058a9 100644 --- a/.github/workflows/CreateTestApp.yaml +++ b/.github/workflows/CreateTestApp.yaml @@ -53,7 +53,7 @@ jobs: runs-on: [ windows-latest ] steps: - name: Dump Workflow Information - uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v7.3 + uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v8.0 with: shell: powershell @@ -62,18 +62,18 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go-Actions/WorkflowInitialize@v7.3 + uses: microsoft/AL-Go-Actions/WorkflowInitialize@v8.0 with: shell: powershell - name: Read settings - uses: microsoft/AL-Go-Actions/ReadSettings@v7.3 + uses: microsoft/AL-Go-Actions/ReadSettings@v8.0 with: shell: powershell - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go-Actions/ReadSecrets@v7.3 + uses: microsoft/AL-Go-Actions/ReadSecrets@v8.0 with: shell: powershell gitHubSecrets: ${{ toJson(secrets) }} @@ -81,7 +81,7 @@ jobs: useGhTokenWorkflowForPush: '${{ github.event.inputs.useGhTokenWorkflow }}' - name: Creating a new test app - uses: microsoft/AL-Go-Actions/CreateApp@v7.3 + uses: microsoft/AL-Go-Actions/CreateApp@v8.0 with: shell: powershell token: ${{ steps.ReadSecrets.outputs.TokenForPush }} @@ -95,7 +95,7 @@ jobs: - name: Finalize the workflow if: always() - uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v7.3 + uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v8.0 env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/Current.yaml b/.github/workflows/Current.yaml index 501680f..20dfa5a 100644 --- a/.github/workflows/Current.yaml +++ b/.github/workflows/Current.yaml @@ -30,7 +30,7 @@ jobs: telemetryScopeJson: ${{ steps.init.outputs.telemetryScopeJson }} steps: - name: Dump Workflow Information - uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v7.3 + uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v8.0 with: shell: powershell @@ -41,13 +41,13 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go-Actions/WorkflowInitialize@v7.3 + uses: microsoft/AL-Go-Actions/WorkflowInitialize@v8.0 with: shell: powershell - name: Read settings id: ReadSettings - uses: microsoft/AL-Go-Actions/ReadSettings@v7.3 + uses: microsoft/AL-Go-Actions/ReadSettings@v8.0 with: shell: powershell get: useGitSubmodules,shortLivedArtifactsRetentionDays @@ -55,7 +55,7 @@ jobs: - name: Read submodules token id: ReadSubmodulesToken if: env.useGitSubmodules != 'false' && env.useGitSubmodules != '' - uses: microsoft/AL-Go-Actions/ReadSecrets@v7.3 + uses: microsoft/AL-Go-Actions/ReadSecrets@v8.0 with: shell: powershell gitHubSecrets: ${{ toJson(secrets) }} @@ -77,7 +77,7 @@ jobs: - name: Determine Projects To Build id: determineProjectsToBuild - uses: microsoft/AL-Go-Actions/DetermineProjectsToBuild@v7.3 + uses: microsoft/AL-Go-Actions/DetermineProjectsToBuild@v8.0 with: shell: powershell maxBuildDepth: ${{ env.workflowDepth }} @@ -114,7 +114,7 @@ jobs: - name: Finalize the workflow id: PostProcess - uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v7.3 + uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v8.0 env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/DeployReferenceDocumentation.yaml b/.github/workflows/DeployReferenceDocumentation.yaml index 6bc21dd..f63a341 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.3 + uses: microsoft/AL-Go-Actions/WorkflowInitialize@v8.0 with: shell: powershell - name: Read settings - uses: microsoft/AL-Go-Actions/ReadSettings@v7.3 + uses: microsoft/AL-Go-Actions/ReadSettings@v8.0 with: shell: powershell - name: Determine Deployment Environments id: DetermineDeploymentEnvironments - uses: microsoft/AL-Go-Actions/DetermineDeploymentEnvironments@v7.3 + uses: microsoft/AL-Go-Actions/DetermineDeploymentEnvironments@v8.0 env: GITHUB_TOKEN: ${{ github.token }} with: @@ -54,7 +54,7 @@ jobs: uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0 - name: Build Reference Documentation - uses: microsoft/AL-Go-Actions/BuildReferenceDocumentation@v7.3 + uses: microsoft/AL-Go-Actions/BuildReferenceDocumentation@v8.0 with: shell: powershell artifacts: 'latest' @@ -71,7 +71,7 @@ jobs: - name: Finalize the workflow if: always() - uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v7.3 + uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v8.0 env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/IncrementVersionNumber.yaml b/.github/workflows/IncrementVersionNumber.yaml index b142f54..1503f58 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@v7.3 + uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v8.0 with: shell: powershell @@ -57,24 +57,24 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go-Actions/WorkflowInitialize@v7.3 + uses: microsoft/AL-Go-Actions/WorkflowInitialize@v8.0 with: shell: powershell - name: Read settings - uses: microsoft/AL-Go-Actions/ReadSettings@v7.3 + uses: microsoft/AL-Go-Actions/ReadSettings@v8.0 with: shell: powershell - name: Validate Workflow Input if: ${{ github.event_name == 'workflow_dispatch' }} - uses: microsoft/AL-Go-Actions/ValidateWorkflowInput@v7.3 + uses: microsoft/AL-Go-Actions/ValidateWorkflowInput@v8.0 with: shell: powershell - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go-Actions/ReadSecrets@v7.3 + uses: microsoft/AL-Go-Actions/ReadSecrets@v8.0 with: shell: powershell gitHubSecrets: ${{ toJson(secrets) }} @@ -82,7 +82,7 @@ jobs: useGhTokenWorkflowForPush: '${{ github.event.inputs.useGhTokenWorkflow }}' - name: Increment Version Number - uses: microsoft/AL-Go-Actions/IncrementVersionNumber@v7.3 + uses: microsoft/AL-Go-Actions/IncrementVersionNumber@v8.0 with: shell: powershell token: ${{ steps.ReadSecrets.outputs.TokenForPush }} @@ -93,7 +93,7 @@ jobs: - name: Finalize the workflow if: always() - uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v7.3 + uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v8.0 env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/NextMajor.yaml b/.github/workflows/NextMajor.yaml index 073c3dc..2629046 100644 --- a/.github/workflows/NextMajor.yaml +++ b/.github/workflows/NextMajor.yaml @@ -30,7 +30,7 @@ jobs: telemetryScopeJson: ${{ steps.init.outputs.telemetryScopeJson }} steps: - name: Dump Workflow Information - uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v7.3 + uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v8.0 with: shell: powershell @@ -41,13 +41,13 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go-Actions/WorkflowInitialize@v7.3 + uses: microsoft/AL-Go-Actions/WorkflowInitialize@v8.0 with: shell: powershell - name: Read settings id: ReadSettings - uses: microsoft/AL-Go-Actions/ReadSettings@v7.3 + uses: microsoft/AL-Go-Actions/ReadSettings@v8.0 with: shell: powershell get: useGitSubmodules,shortLivedArtifactsRetentionDays @@ -55,7 +55,7 @@ jobs: - name: Read submodules token id: ReadSubmodulesToken if: env.useGitSubmodules != 'false' && env.useGitSubmodules != '' - uses: microsoft/AL-Go-Actions/ReadSecrets@v7.3 + uses: microsoft/AL-Go-Actions/ReadSecrets@v8.0 with: shell: powershell gitHubSecrets: ${{ toJson(secrets) }} @@ -77,7 +77,7 @@ jobs: - name: Determine Projects To Build id: determineProjectsToBuild - uses: microsoft/AL-Go-Actions/DetermineProjectsToBuild@v7.3 + uses: microsoft/AL-Go-Actions/DetermineProjectsToBuild@v8.0 with: shell: powershell maxBuildDepth: ${{ env.workflowDepth }} @@ -114,7 +114,7 @@ jobs: - name: Finalize the workflow id: PostProcess - uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v7.3 + uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v8.0 env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/NextMinor.yaml b/.github/workflows/NextMinor.yaml index abcaf3a..e0be2a8 100644 --- a/.github/workflows/NextMinor.yaml +++ b/.github/workflows/NextMinor.yaml @@ -30,7 +30,7 @@ jobs: telemetryScopeJson: ${{ steps.init.outputs.telemetryScopeJson }} steps: - name: Dump Workflow Information - uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v7.3 + uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v8.0 with: shell: powershell @@ -41,13 +41,13 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go-Actions/WorkflowInitialize@v7.3 + uses: microsoft/AL-Go-Actions/WorkflowInitialize@v8.0 with: shell: powershell - name: Read settings id: ReadSettings - uses: microsoft/AL-Go-Actions/ReadSettings@v7.3 + uses: microsoft/AL-Go-Actions/ReadSettings@v8.0 with: shell: powershell get: useGitSubmodules,shortLivedArtifactsRetentionDays @@ -55,7 +55,7 @@ jobs: - name: Read submodules token id: ReadSubmodulesToken if: env.useGitSubmodules != 'false' && env.useGitSubmodules != '' - uses: microsoft/AL-Go-Actions/ReadSecrets@v7.3 + uses: microsoft/AL-Go-Actions/ReadSecrets@v8.0 with: shell: powershell gitHubSecrets: ${{ toJson(secrets) }} @@ -77,7 +77,7 @@ jobs: - name: Determine Projects To Build id: determineProjectsToBuild - uses: microsoft/AL-Go-Actions/DetermineProjectsToBuild@v7.3 + uses: microsoft/AL-Go-Actions/DetermineProjectsToBuild@v8.0 with: shell: powershell maxBuildDepth: ${{ env.workflowDepth }} @@ -114,7 +114,7 @@ jobs: - name: Finalize the workflow id: PostProcess - uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v7.3 + uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v8.0 env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/PublishToAppSource.yaml b/.github/workflows/PublishToAppSource.yaml index 0e21d4b..a8f6e93 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.3 + uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v8.0 with: shell: powershell @@ -47,7 +47,7 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go-Actions/WorkflowInitialize@v7.3 + uses: microsoft/AL-Go-Actions/WorkflowInitialize@v8.0 with: shell: powershell @@ -60,20 +60,20 @@ jobs: uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 - name: Read settings - uses: microsoft/AL-Go-Actions/ReadSettings@v7.3 + uses: microsoft/AL-Go-Actions/ReadSettings@v8.0 with: shell: powershell - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go-Actions/ReadSecrets@v7.3 + uses: microsoft/AL-Go-Actions/ReadSecrets@v8.0 with: shell: powershell gitHubSecrets: ${{ toJson(secrets) }} getSecrets: 'appSourceContext' - name: Deliver - uses: microsoft/AL-Go-Actions/Deliver@v7.3 + uses: microsoft/AL-Go-Actions/Deliver@v8.0 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.3 + uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v8.0 env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/PublishToEnvironment.yaml b/.github/workflows/PublishToEnvironment.yaml index d7374b3..f912dee 100644 --- a/.github/workflows/PublishToEnvironment.yaml +++ b/.github/workflows/PublishToEnvironment.yaml @@ -38,7 +38,7 @@ jobs: telemetryScopeJson: ${{ steps.init.outputs.telemetryScopeJson }} steps: - name: Dump Workflow Information - uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v7.3 + uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v8.0 with: shell: powershell @@ -47,19 +47,19 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go-Actions/WorkflowInitialize@v7.3 + uses: microsoft/AL-Go-Actions/WorkflowInitialize@v8.0 with: shell: powershell - name: Read settings id: ReadSettings - uses: microsoft/AL-Go-Actions/ReadSettings@v7.3 + uses: microsoft/AL-Go-Actions/ReadSettings@v8.0 with: shell: powershell - name: Determine Deployment Environments id: DetermineDeploymentEnvironments - uses: microsoft/AL-Go-Actions/DetermineDeploymentEnvironments@v7.3 + uses: microsoft/AL-Go-Actions/DetermineDeploymentEnvironments@v8.0 env: GITHUB_TOKEN: ${{ github.token }} with: @@ -77,7 +77,7 @@ jobs: - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go-Actions/ReadSecrets@v7.3 + uses: microsoft/AL-Go-Actions/ReadSecrets@v8.0 if: steps.DetermineDeploymentEnvironments.outputs.UnknownEnvironment == 1 with: shell: powershell @@ -109,7 +109,7 @@ jobs: Write-Host "No AuthContext provided for $envName, initiating Device Code flow" $ALGoHelperPath = "$([System.IO.Path]::GetTempFileName()).ps1" $webClient = New-Object System.Net.WebClient - $webClient.DownloadFile('https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v7.3/AL-Go-Helper.ps1', $ALGoHelperPath) + $webClient.DownloadFile('https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.0/AL-Go-Helper.ps1', $ALGoHelperPath) . $ALGoHelperPath DownloadAndImportBcContainerHelper $authContext = New-BcAuthContext -includeDeviceLogin -deviceLoginTimeout ([TimeSpan]::FromSeconds(0)) @@ -145,21 +145,21 @@ jobs: Add-Content -Encoding UTF8 -Path $env:GITHUB_OUTPUT -Value "envName=$envName" - name: Read settings - uses: microsoft/AL-Go-Actions/ReadSettings@v7.3 + uses: microsoft/AL-Go-Actions/ReadSettings@v8.0 with: shell: ${{ matrix.shell }} get: type,powerPlatformSolutionFolder - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go-Actions/ReadSecrets@v7.3 + uses: microsoft/AL-Go-Actions/ReadSecrets@v8.0 with: shell: ${{ matrix.shell }} gitHubSecrets: ${{ toJson(secrets) }} getSecrets: '${{ steps.envName.outputs.envName }}-AuthContext,${{ steps.envName.outputs.envName }}_AuthContext,AuthContext' - name: Get Artifacts for deployment - uses: microsoft/AL-Go-Actions/GetArtifactsForDeployment@v7.3 + uses: microsoft/AL-Go-Actions/GetArtifactsForDeployment@v8.0 with: shell: ${{ matrix.shell }} artifactsVersion: ${{ github.event.inputs.appVersion }} @@ -167,7 +167,7 @@ jobs: - name: Deploy to Business Central id: Deploy - uses: microsoft/AL-Go-Actions/Deploy@v7.3 + uses: microsoft/AL-Go-Actions/Deploy@v8.0 env: Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' with: @@ -180,7 +180,7 @@ jobs: - name: Deploy to Power Platform if: env.type == 'PTE' && env.powerPlatformSolutionFolder != '' - uses: microsoft/AL-Go-Actions/DeployPowerPlatform@v7.3 + uses: microsoft/AL-Go-Actions/DeployPowerPlatform@v8.0 env: Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' with: @@ -199,7 +199,7 @@ jobs: - name: Finalize the workflow id: PostProcess - uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v7.3 + uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v8.0 env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/PullRequestHandler.yaml b/.github/workflows/PullRequestHandler.yaml index 4f27d7b..7b8dab0 100644 --- a/.github/workflows/PullRequestHandler.yaml +++ b/.github/workflows/PullRequestHandler.yaml @@ -17,6 +17,7 @@ permissions: contents: read id-token: write pull-requests: read + security-events: write env: workflowDepth: 1 @@ -28,7 +29,7 @@ jobs: if: (github.event.pull_request.base.repo.full_name != github.event.pull_request.head.repo.full_name) && (github.event_name != 'pull_request') runs-on: windows-latest steps: - - uses: microsoft/AL-Go-Actions/VerifyPRChanges@v7.3 + - uses: microsoft/AL-Go-Actions/VerifyPRChanges@v8.0 Initialization: needs: [ PregateCheck ] @@ -43,9 +44,10 @@ jobs: workflowDepth: ${{ steps.DetermineWorkflowDepth.outputs.WorkflowDepth }} artifactsRetentionDays: ${{ steps.DetermineWorkflowDepth.outputs.ArtifactsRetentionDays }} telemetryScopeJson: ${{ steps.init.outputs.telemetryScopeJson }} + trackALAlertsInGitHub: ${{ steps.SetALCodeAnalysisVar.outputs.trackALAlertsInGitHub }} steps: - name: Dump Workflow Information - uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v7.3 + uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v8.0 with: shell: powershell @@ -57,16 +59,22 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go-Actions/WorkflowInitialize@v7.3 + uses: microsoft/AL-Go-Actions/WorkflowInitialize@v8.0 with: shell: powershell - name: Read settings id: ReadSettings - uses: microsoft/AL-Go-Actions/ReadSettings@v7.3 + uses: microsoft/AL-Go-Actions/ReadSettings@v8.0 with: shell: powershell - get: shortLivedArtifactsRetentionDays + get: shortLivedArtifactsRetentionDays,trackALAlertsInGitHub + + - name: Set AL Code Analysis Var output + id: SetALCodeAnalysisVar + run: | + Write-Host "trackALAlertsInGitHub environment variable: '$($env:trackALAlertsInGitHub)'" + Add-Content -Encoding UTF8 -Path $env:GITHUB_OUTPUT -Value "trackALAlertsInGitHub=$($env:trackALAlertsInGitHub)" - name: Determine Workflow Depth id: DetermineWorkflowDepth @@ -76,7 +84,7 @@ jobs: - name: Determine Projects To Build id: determineProjectsToBuild - uses: microsoft/AL-Go-Actions/DetermineProjectsToBuild@v7.3 + uses: microsoft/AL-Go-Actions/DetermineProjectsToBuild@v8.0 with: shell: powershell maxBuildDepth: ${{ env.workflowDepth }} @@ -107,6 +115,41 @@ jobs: needsContext: ${{ toJson(needs) }} useArtifactCache: true + CodeAnalysisUpload: + needs: [ Initialization, Build ] + if: (!cancelled()) && (needs.Initialization.outputs.trackALAlertsInGitHub == 'True') + runs-on: [ windows-latest ] + name: Code Analysis Processing + steps: + - name: Checkout + uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 + with: + ref: ${{ format('refs/pull/{0}/head', github.event.pull_request.number) }} + + - name: Download artifacts - ErrorLogs + uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0 + if: (success() || failure()) + with: + pattern: '*-ErrorLogs-*' + path: '${{ github.workspace }}/ErrorLogs/' + merge-multiple: true + + - name: Process AL Code Analysis Logs + id: ProcessALCodeAnalysisLogs + if: (success() || failure()) + uses: microsoft/AL-Go-Actions/ProcessALCodeAnalysisLogs@v8.0 + with: + shell: powershell + + - name: Upload SARIF file to GitHub + uses: github/codeql-action/upload-sarif@v4 + if: (success() || failure()) && (hashFiles(format('{0}/ErrorLogs/output.sarif.json',github.workspace)) != '') + with: + sarif_file: '${{ github.workspace }}/ErrorLogs/output.sarif.json' + category: "ALCodeAnalysis" + ref: ${{ format('refs/pull/{0}/head', github.event.pull_request.number) }} + sha: ${{ github.event.pull_request.head.sha }} + StatusCheck: needs: [ Initialization, Build ] if: (!cancelled()) @@ -115,7 +158,7 @@ jobs: steps: - name: Pull Request Status Check id: PullRequestStatusCheck - uses: microsoft/AL-Go-Actions/PullRequestStatusCheck@v7.3 + uses: microsoft/AL-Go-Actions/PullRequestStatusCheck@v8.0 env: GITHUB_TOKEN: ${{ github.token }} with: @@ -123,7 +166,7 @@ jobs: - name: Finalize the workflow id: PostProcess - uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v7.3 + uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v8.0 if: success() || failure() env: GITHUB_TOKEN: ${{ github.token }} diff --git a/.github/workflows/Troubleshooting.yaml b/.github/workflows/Troubleshooting.yaml index 32868f8..b378402 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.3 + uses: microsoft/AL-Go-Actions/Troubleshooting@v8.0 with: shell: powershell gitHubSecrets: ${{ toJson(secrets) }} diff --git a/.github/workflows/UpdateGitHubGoSystemFiles.yaml b/.github/workflows/UpdateGitHubGoSystemFiles.yaml index 5e46105..422c4a8 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.3 + uses: microsoft/AL-Go-Actions/ReadSettings@v8.0 with: shell: powershell get: templateUrl - name: Get Workflow Multi-Run Branches id: GetBranches - uses: microsoft/AL-Go-Actions/GetWorkflowMultiRunBranches@v7.3 + uses: microsoft/AL-Go-Actions/GetWorkflowMultiRunBranches@v8.0 with: shell: powershell includeBranches: ${{ github.event.inputs.includeBranches }} @@ -82,7 +82,7 @@ jobs: steps: - name: Dump Workflow Information - uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v7.3 + uses: microsoft/AL-Go-Actions/DumpWorkflowInfo@v8.0 with: shell: powershell @@ -93,19 +93,19 @@ jobs: - name: Initialize the workflow id: init - uses: microsoft/AL-Go-Actions/WorkflowInitialize@v7.3 + uses: microsoft/AL-Go-Actions/WorkflowInitialize@v8.0 with: shell: powershell - name: Read settings - uses: microsoft/AL-Go-Actions/ReadSettings@v7.3 + uses: microsoft/AL-Go-Actions/ReadSettings@v8.0 with: shell: powershell get: commitOptions - name: Read secrets id: ReadSecrets - uses: microsoft/AL-Go-Actions/ReadSecrets@v7.3 + uses: microsoft/AL-Go-Actions/ReadSecrets@v8.0 with: shell: powershell 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.3 + uses: microsoft/AL-Go-Actions/CheckForUpdates@v8.0 env: GITHUB_TOKEN: ${{ github.token }} with: @@ -146,7 +146,7 @@ jobs: - name: Finalize the workflow if: always() - uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v7.3 + uses: microsoft/AL-Go-Actions/WorkflowPostProcess@v8.0 env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/_BuildALGoProject.yaml b/.github/workflows/_BuildALGoProject.yaml index 084424a..e2018f7 100644 --- a/.github/workflows/_BuildALGoProject.yaml +++ b/.github/workflows/_BuildALGoProject.yaml @@ -103,16 +103,16 @@ jobs: lfs: true - name: Read settings - uses: microsoft/AL-Go-Actions/ReadSettings@v7.3 + uses: microsoft/AL-Go-Actions/ReadSettings@v8.0 with: shell: ${{ inputs.shell }} project: ${{ inputs.project }} buildMode: ${{ inputs.buildMode }} - get: useCompilerFolder,keyVaultCodesignCertificateName,doNotSignApps,doNotRunTests,doNotRunBcptTests,doNotRunpageScriptingTests,artifact,generateDependencyArtifact,trustedSigning,useGitSubmodules + get: useCompilerFolder,keyVaultCodesignCertificateName,doNotSignApps,doNotRunTests,doNotRunBcptTests,doNotRunpageScriptingTests,artifact,generateDependencyArtifact,trustedSigning,useGitSubmodules,trackALAlertsInGitHub - name: Determine whether to build project id: DetermineBuildProject - uses: microsoft/AL-Go-Actions/DetermineBuildProject@v7.3 + uses: microsoft/AL-Go-Actions/DetermineBuildProject@v8.0 with: shell: ${{ inputs.shell }} skippedProjectsJson: ${{ inputs.skippedProjectsJson }} @@ -122,7 +122,7 @@ jobs: - name: Read secrets id: ReadSecrets if: steps.DetermineBuildProject.outputs.BuildIt == 'True' && github.event_name != 'pull_request' - uses: microsoft/AL-Go-Actions/ReadSecrets@v7.3 + uses: microsoft/AL-Go-Actions/ReadSecrets@v8.0 with: shell: ${{ inputs.shell }} gitHubSecrets: ${{ toJson(secrets) }} @@ -140,14 +140,14 @@ jobs: - name: Determine ArtifactUrl id: determineArtifactUrl if: steps.DetermineBuildProject.outputs.BuildIt == 'True' - uses: microsoft/AL-Go-Actions/DetermineArtifactUrl@v7.3 + uses: microsoft/AL-Go-Actions/DetermineArtifactUrl@v8.0 with: shell: ${{ inputs.shell }} project: ${{ inputs.project }} - name: Cache Business Central Artifacts if: steps.DetermineBuildProject.outputs.BuildIt == 'True' && env.useCompilerFolder == 'True' && inputs.useArtifactCache && env.artifactCacheKey - uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4 + uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: path: ${{ runner.temp }}/.artifactcache key: ${{ env.artifactCacheKey }} @@ -155,7 +155,7 @@ jobs: - name: Download Project Dependencies id: DownloadProjectDependencies if: steps.DetermineBuildProject.outputs.BuildIt == 'True' - uses: microsoft/AL-Go-Actions/DownloadProjectDependencies@v7.3 + uses: microsoft/AL-Go-Actions/DownloadProjectDependencies@v8.0 env: Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' with: @@ -166,7 +166,7 @@ jobs: baselineWorkflowRunId: ${{ inputs.baselineWorkflowRunId }} - name: Build - uses: microsoft/AL-Go-Actions/RunPipeline@v7.3 + uses: microsoft/AL-Go-Actions/RunPipeline@v8.0 if: steps.DetermineBuildProject.outputs.BuildIt == 'True' env: Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' @@ -185,7 +185,7 @@ jobs: - name: Sign id: sign if: steps.DetermineBuildProject.outputs.BuildIt == 'True' && inputs.signArtifacts && env.doNotSignApps == 'False' && (env.keyVaultCodesignCertificateName != '' || (fromJson(env.trustedSigning).Endpoint != '' && fromJson(env.trustedSigning).Account != '' && fromJson(env.trustedSigning).CertificateProfile != '')) - uses: microsoft/AL-Go-Actions/Sign@v7.3 + uses: microsoft/AL-Go-Actions/Sign@v8.0 with: shell: ${{ inputs.shell }} azureCredentialsJson: '${{ fromJson(steps.ReadSecrets.outputs.Secrets).AZURE_CREDENTIALS }}' @@ -193,7 +193,7 @@ jobs: - name: Calculate Artifact names id: calculateArtifactsNames - uses: microsoft/AL-Go-Actions/CalculateArtifactNames@v7.3 + uses: microsoft/AL-Go-Actions/CalculateArtifactNames@v8.0 if: success() || failure() with: shell: ${{ inputs.shell }} @@ -276,10 +276,19 @@ jobs: path: '${{ inputs.project }}/.buildartifacts/PageScriptingTestResultDetails/' if-no-files-found: ignore + - name: Publish artifacts - ErrorLogs + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 + if: inputs.artifactsRetentionDays >= 0 && (hashFiles(format('{0}/.buildartifacts/ErrorLogs/*',inputs.project)) != '') && env.trackALAlertsInGitHub == 'True' + with: + name: ${{ steps.calculateArtifactsNames.outputs.ErrorLogsArtifactsName }} + path: '${{ inputs.project }}/.buildartifacts/ErrorLogs/' + if-no-files-found: ignore + retention-days: ${{ inputs.artifactsRetentionDays }} + - name: Analyze Test Results id: analyzeTestResults if: (success() || failure()) && env.doNotRunTests == 'False' - uses: microsoft/AL-Go-Actions/AnalyzeTests@v7.3 + uses: microsoft/AL-Go-Actions/AnalyzeTests@v8.0 with: shell: ${{ inputs.shell }} project: ${{ inputs.project }} @@ -288,7 +297,7 @@ jobs: - name: Analyze BCPT Test Results id: analyzeTestResultsBCPT if: (success() || failure()) && env.doNotRunBcptTests == 'False' - uses: microsoft/AL-Go-Actions/AnalyzeTests@v7.3 + uses: microsoft/AL-Go-Actions/AnalyzeTests@v8.0 with: shell: ${{ inputs.shell }} project: ${{ inputs.project }} @@ -297,7 +306,7 @@ jobs: - name: Analyze Page Scripting Test Results id: analyzeTestResultsPageScripting if: (success() || failure()) && env.doNotRunpageScriptingTests == 'False' - uses: microsoft/AL-Go-Actions/AnalyzeTests@v7.3 + uses: microsoft/AL-Go-Actions/AnalyzeTests@v8.0 with: shell: ${{ inputs.shell }} project: ${{ inputs.project }} @@ -305,7 +314,7 @@ jobs: - name: Cleanup if: always() && steps.DetermineBuildProject.outputs.BuildIt == 'True' - uses: microsoft/AL-Go-Actions/PipelineCleanup@v7.3 + uses: microsoft/AL-Go-Actions/PipelineCleanup@v8.0 with: shell: ${{ inputs.shell }} project: ${{ inputs.project }}