Currently, Strategy::matrix is defined as a List { mapKey : Text, mapValue : List Text }:
https://github.com/regadas/github-actions-dhall/blob/master/types/Strategy.dhall
However, Github Actions supports having an exclude key that is a list of records (not Text):
https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#example-excluding-configurations-from-a-matrix
Currently it's not possible to specify an exclude field in the matrix, because it doesn't match the type.