From the course: Learning GitHub Actions: Event-Driven Automation for Your Codebase

Unlock this course with a free trial

Join today to access over 25,500 courses taught by industry experts.

Use an action from the GitHub Marketplace

Use an action from the GitHub Marketplace

- So far, we've only scratched the surface of what GitHub Actions can do. In this chapter, we'll take a closer look at actions, the core building blocks of GitHub Actions workflows. We'll explore how to work with inputs and arguments, use environment variables and secrets, and use artifacts across workflow steps. Let's start with finding actions in the marketplace and adding them to a workflow. I'm working in a new repository with a cloud formation template and a GitHub Actions workflow file. I'll open the workflow by selecting the workflows directory and then selecting the workflow file to open it. Now, I'll select the pencil icon to edit the file. From this editor, we get easy access to the GitHub Actions marketplace. On the right side of the editor, there's a list of featured actions ready to be inserted into our workflow. These featured actions may be different on your screen and may also change from time to time. That's just GitHub keeping things fresh. Near the bottom of this…

Contents