From the course: Learning GitHub Actions
Unlock the full course today
Join today to access over 24,200 courses taught by industry experts.
Working with YAML files - GitHub Tutorial
From the course: Learning GitHub Actions
Working with YAML files
- [Instructor] GitHub workflows are coded in YAML format. The letters Y-A-M-L make a recursive acronym for YAML ain't markup language. See what they did there? Indeed, YAML is not a markup language. It's a programming language for data serialization. We'll use YAML to describe and share the attributes used in our workflows and actions. That's the data, and serialization, in this case, means we're presenting the data in an ordered fashion that's easily understood by humans and machines. YAML files use the .yml and .yaml extensions to identify the format. You can use either one when you're naming YAML files used as GitHub workflows. One thing you'll want to watch closely with the YAML files is formatting. YAML uses indentations along with colons, dashes, and other characters to delimit the beginnings of attribute definitions and the lists, maps, and key value pairs they contain. Fortunately, many modern editors will handle…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.