Today, the job stopped working due to a parse error. It worked fine until yesterday.
.circleci/config.yml
is like this:
jobs:
one_job:
steps:
- run: &deploy.install-dependencies
name: install dependencies
command: |
echo "start installing deps"
another_job:
steps:
- run:
<<: *deploy.install-dependencies
Error is here:
Unable to parse YAML
while scanning an anchor
in 'string', line 250, column 14:
- run: &deploy.install-dependencies
^
After I replaced &deploy.install-dependencies
with &deploy-install-dependencies
, it seems to work well.