GitHub Actions now supports YAML anchors(github.com) |
GitHub Actions now supports YAML anchors(github.com) |
Use a proper config language like CUE and emit the YAML
This lets you create variables in your Yaml actions workflows that you can reuse later, including more complex data structures like objects and lists that you can spread into jobs.
TLDR: less duplication, although the syntax is a bit awkward.