How to ignore timeout of specific job in matrix?

I do have one particular job inside the matrix which can fail due to timeout. I tried using continue-on-error on it but to my surprise the outcome of the matrix was “skip” and not success, breaking the dependency chain.

How are we supposed to keep running a job known to fail due to timeout?

You can do some simple conditionals in expressions, like timeout-minutes: ${{ matrix.whatever == 'the bad job' && 360 || 10 }}. Note this will fail if the bit after the && is falsey, but that’s not the case here.

Or you could do like timeout-minutes: ${{ matrix.timeout || 10 }} and use the syntax described here to set the timeout for that job.