GitHub Actions Toolkit
Build / code quality tool · Free
Node.js packages for developing GitHub Actions: they handle inputs, commands, artifacts, and workflow APIs from your own action.
Also known as: actions/toolkit; github-actions-toolkit; actions-toolkit

What you can use for free
Code and local use under MIT.
Paid features and costs
Computing resources, self-hosting, and external services are paid for separately if used.
Access and limitations
Code and local use under MIT. Computing resources, self-hosting, and external services are paid for separately if used.
Use cases
- Develop your own GitHub Action
- Connect toolkit APIs to workflow commands and execution diagnostics
Example workflow
A possible workflow; this is not a report of hands-on testing.
Develop your own GitHub Action.
Before you start
- A repository, package manifests, and configuration.
- A compatible runtime and the target build command.
Steps
- Define the action's inputs/outputs and operation.
- Connect toolkit APIs to workflow commands and execution diagnostics.
- Add the workflow to scripts or CI with a clear report.
Check your result
- A clean copy of the project reproduces the result.
- Errors produce a nonzero exit code and clear diagnostics.
Choosing GitHub Actions Toolkit
Develop your own GitHub Action
Choose this when
- Develop your own GitHub Action
- Connect toolkit APIs to workflow commands and execution diagnostics
Requirements
- For your own JavaScript action, choose the required packages and runner environment.
Things to consider
- Costs and limits of free use: Computing resources, self-hosting, and external services are paid for separately if used.
- Terms of use: MIT for the code; dependencies have separate licenses.
- The toolkit does not include free runner minutes or unlimited artifact storage: GitHub Actions terms, costs, and limits apply separately.
Frequently asked questions
What can you use for free in GitHub Actions Toolkit?
Code and local use under MIT.
What additional costs might arise with GitHub Actions Toolkit?
Computing resources, self-hosting, and external services are paid for separately if used.
What terms of use matter for GitHub Actions Toolkit?
MIT for the code; dependencies have separate licenses.
How do you get started with GitHub Actions Toolkit?
Define the action's inputs/outputs and operation. Connect toolkit APIs to workflow commands and execution diagnostics. Add the workflow to scripts or CI with a clear report.
How are tasks divided among GitHub Actions Toolkit packages?
@actions/core reads inputs, writes outputs and results, and handles logging and secret masking. @actions/github provides Octokit and workflow context. @actions/exec starts processes, @actions/io handles files, and tool-cache downloads and caches tools. Separate packages handle workflow caching and artifacts.
License
MIT for the code; dependencies have separate licenses.
MIT — permissive license
You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.
License termsTechnologies and topics
- GitHub Actions Toolkit
- build
- Development