Create and publish custom GitHub actions

Intermediate
DevOps Engineer
Administrator
Developer
Solution Architect
GitHub

Learn how to write your own GitHub actions and identify the metadata, syntax, and workflow commands to create custom workflows. Learn best practices for documenting and versioning your action, and how to publish your action to the GitHub Marketplace.

Learning objectives

In this module, you'll learn how to:

  • Identify the metadata and syntax needed to create custom GitHub actions.
  • Learn best practices to publish a private or public GitHub action.
  • Consume actions within a workflow file.
  • Create custom JavaScript based actions.
  • Publish a newly created action to the GitHub Marketplace.

Prerequisites

  • A GitHub account
  • The ability to navigate and edit files in GitHub
  • Basic familiarity with GitHub Actions and workflows
  • Basic familiarity with continuous integration using GitHub Actions and workflows