liveBook · Manning

YAML

As explained in .NET MAUI in Action

YAML is a human-readable data serialization format that represents structured data through indentation, whitespace, and key-value syntax.

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:

How .NET MAUI in Action covers it

How deep it goes
Explains indentation, workflow hierarchy, triggers, jobs, steps, and runners through a small configuration example.
Examples
Uses a build-and-deploy.yaml file that triggers on pushes to main or manual dispatch.
What it assumes
Assumes only familiarity with text files while introducing YAML structure through a GitHub Actions example.
What you can do after
Builds a basic GitHub Actions workflow file with a name and execution triggers.
How it connects
Connects YAML with GitHub Actions, CI/CD pipelines, triggers, jobs, steps, and runners.

Also explained in

Compare how 16 books explain YAML →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of .NET MAUI in Action. The section links point to the parts of the book it draws on.