What is YAML
Since pipelines, both in ADO and GitHub Actions, use YAML to define what should be done, we will take a brief look at what YAML is and how the syntax should be written.
YAML can also stand for YAML Ain’t Markup Language.
It is a human-readable data serialization language and is widely used for configuration files. The syntax is intentionally minimal and uses a Python-style indentation to show nested objects.
Let’s take the following YAML snippet as an example:
stages: - stage: DeployTest displayName: 'Deploy to Test' jobs: - job: deployTest pool: vmImage: 'windows-latest' steps: - checkout: self clean: true submodules: false displayName: "Checkout repo" - stage: DeployProd...