Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/AL-Go-Settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"$schema": "https://raw.githubusercontent.com/microsoft/AL-Go/16948d91ca57e875e3d823536bac740c0ca1fdbd/Actions/.Modules/settings.schema.json",
"failOn": "newWarning",
"type": "PTE",
"templateUrl": "https://github.com/microsoft/AL-Go-PTE@preview",
"bcContainerHelperVersion": "preview",
Expand Down
30 changes: 15 additions & 15 deletions .github/workflows/_BuildALGoProject.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ jobs:
lfs: true

- name: Read settings
uses: microsoft/AL-Go/Actions/ReadSettings@16948d91ca57e875e3d823536bac740c0ca1fdbd
uses: microsoft/AL-Go/Actions/ReadSettings@4f4c47f96c9201b21882dcb090d50c2b478cd227
with:
shell: ${{ inputs.shell }}
project: ${{ inputs.project }}
Expand All @@ -113,15 +113,15 @@ jobs:

- name: Run Build Initialize hook
if: hashFiles(format('{0}/.AL-Go/BuildInitialize.ps1', inputs.project)) != ''
uses: microsoft/AL-Go/Actions/RunHook@16948d91ca57e875e3d823536bac740c0ca1fdbd
uses: microsoft/AL-Go/Actions/RunHook@4f4c47f96c9201b21882dcb090d50c2b478cd227
with:
shell: ${{ inputs.shell }}
project: ${{ inputs.project }}
hookName: BuildInitialize

- name: Determine whether to build project
id: DetermineBuildProject
uses: microsoft/AL-Go/Actions/DetermineBuildProject@16948d91ca57e875e3d823536bac740c0ca1fdbd
uses: microsoft/AL-Go/Actions/DetermineBuildProject@4f4c47f96c9201b21882dcb090d50c2b478cd227
with:
shell: ${{ inputs.shell }}
skippedProjectsJson: ${{ inputs.skippedProjectsJson }}
Expand All @@ -131,7 +131,7 @@ jobs:
- name: Read secrets
id: ReadSecrets
if: steps.DetermineBuildProject.outputs.BuildIt == 'True'
uses: microsoft/AL-Go/Actions/ReadSecrets@16948d91ca57e875e3d823536bac740c0ca1fdbd
uses: microsoft/AL-Go/Actions/ReadSecrets@4f4c47f96c9201b21882dcb090d50c2b478cd227
with:
shell: ${{ inputs.shell }}
gitHubSecrets: ${{ toJson(secrets) }}
Expand All @@ -149,7 +149,7 @@ jobs:
- name: Determine ArtifactUrl
id: determineArtifactUrl
if: steps.DetermineBuildProject.outputs.BuildIt == 'True'
uses: microsoft/AL-Go/Actions/DetermineArtifactUrl@16948d91ca57e875e3d823536bac740c0ca1fdbd
uses: microsoft/AL-Go/Actions/DetermineArtifactUrl@4f4c47f96c9201b21882dcb090d50c2b478cd227
with:
shell: ${{ inputs.shell }}
project: ${{ inputs.project }}
Expand All @@ -164,7 +164,7 @@ jobs:
- name: Download Project Dependencies
id: DownloadProjectDependencies
if: steps.DetermineBuildProject.outputs.BuildIt == 'True'
uses: microsoft/AL-Go/Actions/DownloadProjectDependencies@16948d91ca57e875e3d823536bac740c0ca1fdbd
uses: microsoft/AL-Go/Actions/DownloadProjectDependencies@4f4c47f96c9201b21882dcb090d50c2b478cd227
env:
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}'
with:
Expand All @@ -177,14 +177,14 @@ jobs:
- name: Download Previous Release
id: DownloadPreviousRelease
if: steps.DetermineBuildProject.outputs.BuildIt == 'True' && env.skipUpgrade == 'False'
uses: microsoft/AL-Go/Actions/DownloadPreviousRelease@16948d91ca57e875e3d823536bac740c0ca1fdbd
uses: microsoft/AL-Go/Actions/DownloadPreviousRelease@4f4c47f96c9201b21882dcb090d50c2b478cd227
with:
shell: ${{ inputs.shell }}
project: ${{ inputs.project }}

- name: Compile Apps
id: compile
uses: microsoft/AL-Go/Actions/CompileApps@16948d91ca57e875e3d823536bac740c0ca1fdbd
uses: microsoft/AL-Go/Actions/CompileApps@4f4c47f96c9201b21882dcb090d50c2b478cd227
if: steps.DetermineBuildProject.outputs.BuildIt == 'True' && fromJson(env.workspaceCompilation).enabled == true
env:
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}'
Expand All @@ -211,7 +211,7 @@ jobs:
Add-Content -Encoding UTF8 -Path $env:GITHUB_ENV -Value "NeedsContext=$needsContextPath"

- name: Build
uses: microsoft/AL-Go/Actions/RunPipeline@16948d91ca57e875e3d823536bac740c0ca1fdbd
uses: microsoft/AL-Go/Actions/RunPipeline@4f4c47f96c9201b21882dcb090d50c2b478cd227
if: steps.DetermineBuildProject.outputs.BuildIt == 'True'
env:
Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}'
Expand All @@ -231,15 +231,15 @@ jobs:
- name: Sign
id: sign
if: steps.DetermineBuildProject.outputs.BuildIt == 'True' && inputs.signArtifacts && env.doNotSignApps == 'False' && (env.keyVaultCodesignCertificateName != '' || (fromJson(env.trustedSigning).Endpoint != '' && fromJson(env.trustedSigning).Account != '' && fromJson(env.trustedSigning).CertificateProfile != '')) && (hashFiles(format('{0}/.buildartifacts/Apps/*.app',inputs.project)) != '')
uses: microsoft/AL-Go/Actions/Sign@16948d91ca57e875e3d823536bac740c0ca1fdbd
uses: microsoft/AL-Go/Actions/Sign@4f4c47f96c9201b21882dcb090d50c2b478cd227
with:
shell: ${{ inputs.shell }}
azureCredentialsJson: '${{ fromJson(steps.ReadSecrets.outputs.Secrets).AZURE_CREDENTIALS }}'
pathToFiles: '${{ inputs.project }}/.buildartifacts/Apps/*.app'

- name: Calculate Artifact names
id: calculateArtifactsNames
uses: microsoft/AL-Go/Actions/CalculateArtifactNames@16948d91ca57e875e3d823536bac740c0ca1fdbd
uses: microsoft/AL-Go/Actions/CalculateArtifactNames@4f4c47f96c9201b21882dcb090d50c2b478cd227
if: success() || failure()
with:
shell: ${{ inputs.shell }}
Expand Down Expand Up @@ -354,7 +354,7 @@ jobs:
- name: Analyze Test Results
id: analyzeTestResults
if: (success() || failure()) && env.doNotRunTests == 'False'
uses: microsoft/AL-Go/Actions/AnalyzeTests@16948d91ca57e875e3d823536bac740c0ca1fdbd
uses: microsoft/AL-Go/Actions/AnalyzeTests@4f4c47f96c9201b21882dcb090d50c2b478cd227
with:
shell: ${{ inputs.shell }}
project: ${{ inputs.project }}
Expand All @@ -363,7 +363,7 @@ jobs:
- name: Analyze BCPT Test Results
id: analyzeTestResultsBCPT
if: (success() || failure()) && env.doNotRunBcptTests == 'False'
uses: microsoft/AL-Go/Actions/AnalyzeTests@16948d91ca57e875e3d823536bac740c0ca1fdbd
uses: microsoft/AL-Go/Actions/AnalyzeTests@4f4c47f96c9201b21882dcb090d50c2b478cd227
with:
shell: ${{ inputs.shell }}
project: ${{ inputs.project }}
Expand All @@ -372,15 +372,15 @@ jobs:
- name: Analyze Page Scripting Test Results
id: analyzeTestResultsPageScripting
if: (success() || failure()) && env.doNotRunpageScriptingTests == 'False'
uses: microsoft/AL-Go/Actions/AnalyzeTests@16948d91ca57e875e3d823536bac740c0ca1fdbd
uses: microsoft/AL-Go/Actions/AnalyzeTests@4f4c47f96c9201b21882dcb090d50c2b478cd227
with:
shell: ${{ inputs.shell }}
project: ${{ inputs.project }}
testType: "pageScripting"

- name: Cleanup
if: always() && steps.DetermineBuildProject.outputs.BuildIt == 'True'
uses: microsoft/AL-Go/Actions/PipelineCleanup@16948d91ca57e875e3d823536bac740c0ca1fdbd
uses: microsoft/AL-Go/Actions/PipelineCleanup@4f4c47f96c9201b21882dcb090d50c2b478cd227
with:
shell: ${{ inputs.shell }}
project: ${{ inputs.project }}
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ codeunit 17118 "Contoso NZ County"
tabledata County = rim;

procedure SetOverwriteData(Overwrite: Boolean)
var
UnusedValue: Integer;
begin
UnusedValue := 42;
OverwriteData := Overwrite;
end;

Expand Down
Loading