Skip to content
skillbld
CI/CD with GitHub Actions · 12-day planAll days
Day 2 of 12 25 min

Learn just enough YAML to write workflows without fear, then take a workflow apart line by line - name, on, jobs, runs-on and steps - and use the two kinds of step, run for commands and uses for ready-made actions. Finish by fixing a broken workflow.

By the end of today you can

  • Read and write YAML maps, lists and multi-line strings
  • Explain each part of a workflow file
  • Write steps with run, including multi-line scripts
  • Use actions with uses and pass them inputs with with
  • Read and fix "Invalid workflow file" errors

What's inside

  • 4 sections
  • 3 diagrams and mind maps
  • 2 code examples you can run
  • 5-question quiz
  1. 1YAML in five minutes
  2. 2A workflow, line by line
  3. 3Two kinds of step
  4. 4Fix the broken workflow

Sign in free to read this lesson

Get the full lesson with diagrams, runnable code and the quiz. Your progress is saved across devices.

Sign in free

Keep going

Day 2: Workflow Anatomy · CI/CD with GitHub Actions · SkillBld