Publishing your own actions
In Chapter 5, Writing Your Own Actions, you learned how to write an action using JavaScript, Docker, and composite run steps. Sharing your actions is an excellent way to share your knowledge, as well as collaborating with and participating in the GitHub Actions community.
This section will introduce the prerequisites and steps you need to follow to successfully publish your own action to GitHub Marketplace.
Prerequisites
Before you can publish your action to GitHub Marketplace, you must meet the following prerequisites:
- Your action must live in a public GitHub repository.
- The repository must contain one single action.
- The action's metadata file—
action.yaml
oraction.yml
—must live in the root of the repository. - The
name
value in the action metadata file must be unique. Therefore, it cannot match an existing action or a category in GitHub Marketplace. It also cannot match the name of a user or organization within...