1
0
Fork 0
 
 
 
Go to file
Nick Alteen 7421c8a883 Format README and update links 2024-01-26 23:04:48 -05:00
.github add integration test for delete 2024-01-17 17:54:10 -05:00
docs Format and update grammar 2024-01-26 23:04:30 -05:00
packages Merge pull request #1627 from actions/eggyhead/hyperlinks-faq 2024-01-19 08:40:40 -08:00
res add logo (#27) 2019-07-10 14:02:56 -04:00
scripts Add disabling explanation in audit-allow-list 2023-01-03 13:33:43 +01:00
.eslintignore add generated to eslintignore 2023-08-07 09:01:14 -07:00
.eslintrc.json Add option for concurrent cache downloads with timeout (#1484) 2023-08-07 13:25:56 -04:00
.gitignore tool-cache: Support for extracting xar compatible archives (#207) 2020-07-15 14:49:23 -04:00
.prettierignore prettier and add generated files to prettierignore 2023-08-07 08:55:42 -07:00
.prettierrc.json Audit Fix (#1480) 2023-08-03 16:36:11 -04:00
CODEOWNERS Update CODEOWNERS with new teams (#990) 2022-02-02 12:43:38 -05:00
CODE_OF_CONDUCT.md Format with Prettier 2024-01-26 23:01:47 -05:00
LICENSE.md Format with Prettier 2024-01-26 23:01:47 -05:00
README.md Format README and update links 2024-01-26 23:04:48 -05:00
SECURITY.md Format with Prettier 2024-01-26 23:01:47 -05:00
jest.config.js appeasing linter 2024-01-09 19:47:25 +00:00
lerna.json Audit Fix (#1480) 2023-08-03 16:36:11 -04:00
nx.json Audit Fix (#1480) 2023-08-03 16:36:11 -04:00
package-lock.json updating package-json 2024-01-09 17:13:35 +00:00
package.json updating timer; removing logs 2024-01-09 19:23:57 +00:00
tsconfig.eslint.json Update eslint to 2.2.7 (#410) 2020-04-13 10:19:49 -04:00
tsconfig.json Update dependencies 2023-09-08 14:29:27 +00:00

README.md

Logo

Toolkit unit tests status Toolkit audit status

GitHub Actions Toolkit

The GitHub Actions Toolkit provides a set of packages to make creating actions easier.

Get started with the TypeScript Action Template!

Packages

✔️ @actions/core

Provides functions for managing inputs, outputs, results, logging, secrets and variables.

npm install @actions/core

🏃 @actions/exec

Provides functions to run CLI tools and process output.

npm install @actions/exec

🍨 @actions/glob

Provides functions to search for files matching glob patterns.

npm install @actions/glob

☎️ @actions/http-client

Provides a lightweight HTTP client optimized for building actions.

npm install @actions/http-client

✏️ @actions/io

Provides disk I/O functions like cp, mv, rmRF, which, etc.

npm install @actions/io

🔨 @actions/tool-cache

Provides functions for downloading and caching tools (e.g. setup-* actions). See @actions/cache for caching workflow dependencies.

npm install @actions/tool-cache

:octocat: @actions/github

Provides an Octokit client hydrated with the context of the current workflow run.

npm install @actions/github

💾 @actions/artifact

Provides functions to interact with artifacts.

npm install @actions/artifact

🎯 @actions/cache

Provides functions to cache dependencies and build outputs to improve workflow run duration.

npm install @actions/cache

Creating Custom GitHub Actions

Types of actions

You can build Docker container, JavaScript, and composite actions.

Using release management for actions

This section explains how you can use release management to distribute updates to your actions in a predictable way.

⚠️ Problem Matchers

Problem Matchers are a way to scan the output of actions for a specified regular expression pattern and surface that information prominently in the UI.

⚠️ Using a proxy server with self-hosted runners

You can configure self-hosted runners to use a proxy server to communicate with GitHub.

Templates and Examples

actions/typescript-action

Template action written in TypeScript with compilation, tests, linting, publishing, and versioning.

action/javascript-action

Template action written in JavaScript with compilation, tests, linting, publishing, and versioning.

actions/container-action

Template action deployed as a Docker conatiner with compilation, tests, linting, publishing, and versioning.

actions/container-toolkit-action

Template action deployed as a Docker conatiner with compilation, tests, linting, publishing, and versioning. Demonstrates using the GitHub Actions Toolkit within custom actions.

actions/container-prebuilt-action

Template action deployed as a Docker conatiner with compilation, tests, linting, publishing, and versioning. Demonstrates reduced workflow run duration using prebuilt container images.

actions/hello-world-javascript-action

Illustrates how to create a simple Hello, World! action written in JavaScript.

actions/hello-world-docker-action

Illustrates how to create a simple Hello, World! action written as a Docker container.

Contributing

We welcome contributions! See how to contribute.

Code of Conduct

See our code of conduct.