This applies to YAML aliases as well. I didn’t realize aliases could even be unsupported.
### ERRORED 21:44:58Z
- Your workflow file was invalid: .github/workflows/deploy.yml: Anchors are not currently supported. Remove the anchor 'setup_elixir'
And this is the most basic thing. Trying to reuse some settings in another job so that versions can be seen and updated in one place (at least, one place within this file).
- uses: actions/checkout@v1
And later on:
Ideally, I’d like to define some things at the top-level so that they are all at the top of the file. Unfortunately an abitrary top-level node isn’t allowed:
- Your workflow file was invalid: .github/workflows/deploy.yml (Line: 9, Col: 1): Unexpected value 'aliases'
I’ve seen examples for Docker (Compose) that allow anything beginning with x, e.g. x-whatever.