From the course: Learning GitHub Actions
Unlock the full course today
Join today to access over 24,200 courses taught by industry experts.
Challenge: Develop a complex workflow - GitHub Tutorial
From the course: Learning GitHub Actions
Challenge: Develop a complex workflow
(gentle music) - [Instructor] It's time for a challenge. In this challenge, you'll create a complex workflow that uses a push trigger, multiple runners with different operating systems and jobs that use dependencies. Start this challenge by creating a workflow file in a new repository. Use a push trigger to get the workflow started. The workflow should contain four jobs. Each job should run a command that prints the date. In the first job, use the Ubuntu-latest runner. In the second job use the Windows-latest runner. In the third job, use the macOS-latest runner. In the fourth and final job, use the runner of your choice. For the fourth job, create a dependency on the previous three jobs. This challenge should take about 15 minutes to complete. After you've completed the challenge, join me in the next video to discuss the solution.
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.
Contents
-
-
-
-
(Locked)
Create a workflow3m 11s
-
(Locked)
Add jobs and steps to a workflow2m 36s
-
(Locked)
Add actions to a workflow4m 27s
-
(Locked)
Run a workflow2m 31s
-
(Locked)
Add dependencies between actions1m 50s
-
(Locked)
Add conditions to a workflow2m 40s
-
(Locked)
Workflow and action limitations1m 27s
-
(Locked)
Challenge: Develop a complex workflow1m 2s
-
(Locked)
Solution: Develop a complex workflow6m 18s
-
(Locked)
-
-
-
-