feat(supported-version): dynamically append "version" to matrix

This commit is contained in:
Damien Retzinger
2026-05-07 09:27:00 -04:00
parent c786530c3e
commit a7e327d44f
6 changed files with 36 additions and 25 deletions
@@ -16,7 +16,7 @@ export const getMatrixForVersions = (project: string, versions: string[]): Githu
return {
magento: [...acc.magento, current],
include: [...acc.include, knownVersions[current]]
include: [...acc.include, { ...knownVersions[current], version: current.split(':')[1] ?? '' }]
}
}, {magento: [], include: []});
}
@@ -11,6 +11,7 @@ export interface Services {
export interface PackageMatrixVersion {
magento: string,
version: string,
php: string | number,
composer: string | number,
mysql: string,