GitHub Actions env should support lists

I am using GitHub actions but would like the “configuration” options “up front” at the top of my workflow file. I’ve tried using env for this but I cannot define a list of supported Python releases here in a form that I can use to set a test matrix later. env variables needs to support lists please.