mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-04 19:56:45 +02:00
Fix building the automations mermaid diagram (#28881)
* Fix building the automations mermaid diagram The was using a runner output instead which is not going to work in this simple script, so just skip anything that's not an array - not really sure what else we can do here short of implementing large parts of github actions. * Prettier
This commit is contained in:
parent
b16088d098
commit
7b565e7997
@ -573,7 +573,10 @@ components.forEach((graph) => {
|
||||
|
||||
let variations = cartesianProduct(
|
||||
Object.keys(job.strategy.matrix)
|
||||
.filter((key) => key !== "include" && key !== "exclude")
|
||||
.filter(
|
||||
(key) =>
|
||||
key !== "include" && key !== "exclude" && Array.isArray(job.strategy!.matrix[key]),
|
||||
)
|
||||
.map((matrixKey) => {
|
||||
return job.strategy!.matrix[matrixKey].map((value) => ({ [matrixKey]: value }));
|
||||
}),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user