Using ENV variable as working directory?

You might use YAML anchors and references to get what you want. Take a look at the “variables” at the top of this file (not mine):