From the course: Learning GitHub Actions

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Your first action

Your first action - GitHub Tutorial

From the course: Learning GitHub Actions

Start my 1-month free trial

Your first action

- [Narrator] Let's jump right in and get started by running a workflow with an action that prints the phrase all new projects start with, Hello, world. I've created a new repository and I'll start by clicking the Actions tab. I haven't created any workflows in this repository yet, so on this page we see some examples we can use to get started with Actions. I'll click the Set up this workflow button under the example named Simple workflow. On the workflow screen, GitHub has filled out a sample workflow for us. At the top we can see the name of the workflow file, blank.yaml. To keep the file name in line with this example, I'll change the name to hello.yaml. The rest of the text I'm going to leave the same. If we scan the file, we can see the workflow defines a job named build. It lists the platform the job will run on and then under the steps keyword, it lists the actions the job will run to print our Hello, world message.…

Contents