github · GitHub Actions Docs
How Tos Creating a third party CLI action - GitHub Docs
Teaches how to package a command-line interface tool as a GitHub Action by configuring a Docker container and defining the entry point.
Derived skill
Files assembled from official documentation
Viewing SKILL.md
How Tos Creating a third party CLI action - GitHub Docs
Teaches how to package a command-line interface tool as a GitHub Action by configuring a Docker container and defining the entry point.
When To Use
Use when you need to wrap an existing command-line tool into a reusable GitHub Action for use in CI/CD workflows.
Reference Files
| File | Contains | Use For |
|---|---|---|
SKILL.md | Entry point: scope, routing table, and workflow. | Start here. |
docs/actions-how-tos-create-and-publish-creating-a-third-party-cli-action-git-workflow-guide.md | A guide explaining how to develop and publish a GitHub Action that sets up a command-line interface on GitHub Actions runners. | Questions about a guide explaining how to develop and publish a GitHub Action that sets up a command-line interface on GitHub Actions... |
examples/actions-how-tos-create-and-publish-creating-a-third-party-cli-action-git.text | A JavaScript implementation demonstrating how to download, extract, and set up a third-party CLI tool within a GitHub Action using the tool-cache library. | Exact payloads, commands, or snippets shown in A JavaScript implementation demonstrating how to download, extract, and set up a third-party CLI tool within a GitHub... |
What This Skill Covers
-
- GitHub Actions / - How-tos / - Create and publish actions / - Create a CLI action
- Main sections:
In this article,Introduction,Prerequisites,Example,Further reading.
Workflow
- Open the most relevant file under
docs/for the exact documented workflow and wording. - Open
schemas/files for exact structured contracts. - Open
examples/files for concrete requests, commands, snippets, and manifests. - Do not add behavior or configuration that is not present in the attached source files.
Canonical source: https://docs.github.com/en/actions/how-tos/create-and-publish-actions/create-a-cli-action
