mirror of
https://github.com/graycoreio/github-actions-magento2.git
synced 2026-06-19 06:41:20 +00:00
feat(supported-version): dynamically append "version" to matrix
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user