Split yaml sections

This commit is contained in:
Josh Soref 2021-07-07 23:33:53 -04:00 committed by GitHub
parent b7a9db5c9b
commit a0e43af4ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,7 +50,7 @@ don't allow this because they don't work on a level of individual jobs or steps.
- 'src/**'
# run only if some file in 'src' folder was changed
if: steps.changes.outputs.src == 'true'
- if: steps.changes.outputs.src == 'true'
run: ...
```
For more scenarios see [examples](#examples) section.