YAML is a human-readable text format for serializing structured data. Indentation represents hierarchy, making configuration files easy to read and maintain. section 12.2.1 section 12.4
A GitHub Actions workflow uses YAML to define:
- A workflow name. section 12.2.1
- Triggers, such as a push to the main branch or a manual workflow dispatch. section 12.2.1
- Jobs, which contain steps implemented as shell commands or predefined actions. section 12.4
- GitHub-hosted or self-hosted runners on which jobs execute. section 12.4
Minimal workflow header
name: Build and Deploy MauiStockTake on: push: branches: - main workflow_dispatch:















