[releases/27.4@516fcbd] Update AL-Go System Files from microsoft/AL-Go-PTE@preview - 6baed96 / Related to AB#539394#8248
Merged
business-central-bot[bot] merged 1 commit intoMay 21, 2026
Conversation
…o-PTE@preview - 6baed96 / Related to AB#539394
mazhelez
approved these changes
May 20, 2026
aholstrup1
approved these changes
May 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
preview
Note that when using the preview version of AL-Go for GitHub, we recommend you Update your AL-Go system files, as soon as possible when informed that an update is available.
Use artifact manifest to pick .NET runtime for assembly probing
When compiling apps with the workspace compiler, AL-Go now reads the
dotNetVersionfrom the BC artifact'smanifest.json(copied into the compiler folder by BcContainerHelper) and selects an installed .NET runtime whose major version matches. This avoids version drift between the build agent's highest installed runtime and the platform the artifact was built against. If the manifest does not declare adotNetVersion, or no installed runtime matches the required major, versioned .NET assembly probing paths are omitted (a warning is logged in the latter case).New AL-Go hooks (experimental)
AL-Go for GitHub now supports a new generic hook mechanism that is independent of BcContainerHelper. A new
RunHookaction invokes scripts placed in the project's.AL-Gofolder at well-known extension points in the workflows. The first such extension point isBuildInitialize, which runs in the build workflow immediately afterRead settings(so AL-Go settings are available as environment variables).To use it, add a
.AL-Go/BuildInitialize.ps1script that accepts a[Hashtable] $parametersargument. If the script does not exist, the step is a silent no-op.The hook mechanism is intended to gradually replace the BcContainerHelper-based
Run-AlPipelinescript overrides as AL-Go moves away fromRun-AlPipeline. See Customizing AL-Go for GitHub for details and the list of supported hook names.Conditional settings now support workflow trigger events
ConditionalSettingsnow supports atriggerscondition, allowing you to apply settings based onGITHUB_EVENT_NAMEvalues such aspush,pull_request,schedule, andworkflow_dispatch.Example:
Support for workspace compilation (Continued)
Optimized dependency artifact downloads for multi-project repositories
The
DownloadProjectDependenciesaction now downloads only artifacts from dependency projects instead of all workflow artifacts. For repositories with many AL-Go projects, this reduces build runner bandwidth and speeds up the dependency download step.Issues
modifiedAppsmode) now correctly identify unmodified apps for projects whoseappFoldersreference paths outside the project directory (e.g. using../)customCodeCopsentry resolved when multiple relative paths were configured. RelativecustomCodeCopspaths are now resolved against the project folder before being passed to the compiler.Related to AB#539394