AL-Go version
8.1
Describe the issue
In a multi-project repo with multiple AppSource apps and one library app, using the 'Publish to AppSource' action for all projects does not exclude the library app, but fails with
deliverToAppSource.ProductId needs to be specified in Foundation/.AL-Go/settings.json in order to deliver to AppSource
Expected behavior
If 'Publish to AppSource' action is ran with '*' to include all projects - in a multi-project setup - only the AppSource configured apps should be included. Any library apps should be excluded.
Workaround:
The user might manually indicate the projects to be uploaded (instead of *), which is cumbersome if you'd have a multi-project with dozens of AppSource apps and few library apps.
Steps to reproduce
One repo, 3 projects (apps)
- Foundation: library app
- Companyweb : AppSource app with dependency on Foundation
- Liza : AppSource app with dependency on Foundation
Config for Foundation
{
"$schema": "https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.1/.Modules/settings.schema.json",
"country": "us",
"appSourceCopMandatoryAffixes": [
"CWEBF"
],
"projectName": "Foundation",
"rulesetFile": "App/.vscode/app.ruleset.json"
}
Config for Companyweb
{
"$schema": "https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.1/.Modules/settings.schema.json",
"country": "be",
"appSourceCopMandatoryAffixes": [
"CWEB"
],
"projectName": "Companyweb",
"rulesetFile": "App/.vscode/app.ruleset.json",
"deliverToAppSource": {
"productId": "***",
"mainAppFolder": "App",
"continuousDelivery": false,
"includeDependencies": [
"Dynavision*Foundation*.app"
]
},
"generateDependencyArtifact": true
}
Config for Liza
{
"$schema": "https://raw.githubusercontent.com/microsoft/AL-Go-Actions/v8.1/.Modules/settings.schema.json",
"country": "nl",
"appSourceCopMandatoryAffixes": [
"CWEBL"
],
"projectName": "Liza",
"rulesetFile": "App/.vscode/app.ruleset.json",
"deliverToAppSource": {
"productId": "***",
"mainAppFolder": "App",
"continuousDelivery": false,
"includeDependencies": [
"Dynavision*Foundation*.app"
]
},
"generateDependencyArtifact": true
}
Run 'Publish to AppSource' action
Failure on
[Deliver to AppSource](https://github.com/DynavisionISV/Companyweb/actions/runs/21254191419/job/61163944199#step:5:244)
Unexpected error when running action. Error Message: deliverToAppSource.ProductId needs to be specified in Foundation/.AL-Go/settings.json in order to deliver to AppSource, StackTrace: at <ScriptBlock>, /home/runner/work/_actions/microsoft/AL-Go-Actions/v8.1/Deliver/Deliver.ps1: line 372 <- at <ScriptBlock>, /home/runner/work/_temp/3dfbf039-a1b6-4795-a0f6-467befb4470d.ps1: line 3 <- at <ScriptBlock>, /home/runner/work/_actions/microsoft/AL-Go-Actions/v8.1/Invoke-AlGoAction.ps1: line 21 <- at <ScriptBlock>, /home/runner/work/_temp/3dfbf039-a1b6-4795-a0f6-467befb4470d.ps1: line 2 <- at <ScriptBlock>, <No file>: line 1
Possible cause:
Foundation is included (as part of *)
Expected behavior
When using *, all projects can be evaluated, but only those with deliverToAppSource settings should be included, others (library apps) should be skipped
Additional context (logs, screenshots, etc.)
logs_55110685095.zip
AL-Go version
8.1
Describe the issue
In a multi-project repo with multiple AppSource apps and one library app, using the 'Publish to AppSource' action for all projects does not exclude the library app, but fails with
deliverToAppSource.ProductId needs to be specified in Foundation/.AL-Go/settings.json in order to deliver to AppSourceExpected behavior
If 'Publish to AppSource' action is ran with '*' to include all projects - in a multi-project setup - only the AppSource configured apps should be included. Any library apps should be excluded.
Workaround:
The user might manually indicate the projects to be uploaded (instead of *), which is cumbersome if you'd have a multi-project with dozens of AppSource apps and few library apps.
Steps to reproduce
One repo, 3 projects (apps)
Config for Foundation
Config for Companyweb
Config for Liza
Run 'Publish to AppSource' action
Failure on
Possible cause:
Foundation is included (as part of *)
Expected behavior
When using *, all projects can be evaluated, but only those with deliverToAppSource settings should be included, others (library apps) should be skipped
Additional context (logs, screenshots, etc.)
logs_55110685095.zip