From the course: Learning GitHub Actions

Unlock the full course today

Join today to access over 24,200 courses taught by industry experts.

Challenge: Create a custom action

Challenge: Create a custom action - GitHub Tutorial

From the course: Learning GitHub Actions

Challenge: Create a custom action

(upbeat music) - [Instructor] Let's pause here for a challenge. In this challenge, you'll need to start with two new repositories. One for a custom action and another for workflow to test the action In the repo for your custom action, create a Dockerfile and a script that implements some function. It could be as simple as printing Hello World or as complex as you want it to be. The most important thing at this point is to get all of the pieces together for your custom action, specifically a working Dockerfile and script. In the repo for your workflow, use a push event to trigger the workflow, then call the custom action and observe the output. It should take from 10 to 15 minutes to solve this challenge. Give it a try and then join me in the next video for the solution.

Contents