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: []});
|
||||
}
|
||||
Reference in New Issue
Block a user