Generate matrix with a range

Hi,

In order to split up a very long build, which processes a long list of textual references, I would like to use a build matrix where each job processes only references starting with a given letter. Is there a way to make this matrix without specifying explicitly all the letters ([a, b, c, d, e, f ..., z]), but having something equivalent to [a-z]

Thanks !

Hi @ericlemanissier,

You need to follow the format key: [value1, ...valueN], it’s not supported to use [a-z] .

Github supports dynamic matrix now, hence as a workaround, you can add a pre job, use your start and end letters to generate an array via script, transfer it to the next job as the matrix value.

You can find a sample here:

Thanks