-
Notifications
You must be signed in to change notification settings - Fork 168
Description
AL-Go version
v8.0
Describe the issue
In multi-project repositories with inter-app dependencies, the PublishToAppSource workflow currently processes apps alphabetically instead of by dependency hierarchy.
This causes publish failures when dependent apps have not yet been uploaded to AppSource.
Expected behavior
Apps should be published in dependency order (e.g., Core → Mid-tier → Top-level) to ensure dependent apps reference the correct same-release versions.
Steps to reproduce
- Create a multi-project repository with three-tier dependencies, for example:
- Core → Base platform app (level 1)
- HR → Depends on App_Core (level 2)
- Finance → Depends on App_Core (level 2)
- Budgets → Depends on Finance (level 3)
- Configure all apps for the same release version (e.g., 27.0.2543.0) and update dependencies.
- Run the
PublishToAppSourceworkflow from AL-Go (.github/workflows/PublishToAppSource.yml). - Observe that apps are processed and published alphabetically (Budgets first), not in dependency order.
- Since App Budgeting depends on App Finance, the AppSource validation fails due to missing dependencies.
Additional context (logs, screenshots, etc.)
Some dependencies could not be found for the country/region 'US' and release '27.0.0' of Business Central.
Make sure that these dependencies are part of your submission or that they have already been uploaded to AppSource and that they are available for the targeted country/region and release:
[App Name] ([guid]) by [publisher] version '27.0.2543.0'.