GitHub Actions action to make Task available for use in your workflow
Find a file
Per Tillisch a32e553e88
Some checks failed
Check npm / validate (push) Has been cancelled
Check npm / check-sync (push) Has been cancelled
Check Prettier Formatting / check (push) Has been cancelled
Check Action Metadata / validate (push) Has been cancelled
Check Markdown / lint (push) Has been cancelled
Check Markdown / links (push) Has been cancelled
Check npm Dependencies / run-determination (push) Has been cancelled
Check TypeScript Configuration / validate (./tsconfig.eslint.json) (push) Has been cancelled
Check TypeScript Configuration / validate (./tsconfig.json) (push) Has been cancelled
Check TypeScript / check (push) Has been cancelled
Spell Check / spellcheck (push) Has been cancelled
Sync Labels / check (push) Has been cancelled
Test TypeScript / test (macos-latest) (push) Has been cancelled
Test TypeScript / test (ubuntu-latest) (push) Has been cancelled
Test TypeScript / test (windows-latest) (push) Has been cancelled
Test TypeScript / check-packaging (push) Has been cancelled
Check npm Dependencies / check-cache (push) Has been cancelled
Check npm Dependencies / check-deps (push) Has been cancelled
Sync Labels / download (tooling.yml) (push) Has been cancelled
Sync Labels / download (universal.yml) (push) Has been cancelled
Sync Labels / sync (push) Has been cancelled
Merge pull request #1425 from arduino/dependabot/npm_and_yarn/markdown-link-check-3.15.0
build(deps-dev): bump markdown-link-check from 3.14.2 to 3.15.0
2026-07-28 04:53:42 -07:00
.github build(deps): bump actions/setup-python from 6 to 7 2026-07-20 11:42:18 +00:00
.licenses/npm Update dependency license metadata cache for @actions/tool-cache bump 2026-06-29 21:30:03 -07:00
__tests__ Convert project to ECMAScript module format 2026-06-29 20:29:34 -07:00
dist Repackage action following @actions/tool-cache bump 2026-06-29 21:25:44 -07:00
src Convert project to ECMAScript module format 2026-06-29 20:29:34 -07:00
.codespellrc Ignore node_modules on fixers and linters 2021-12-03 16:32:52 +01:00
.eslintignore Add CI workflow to lint TypeScript and JavaScript code 2021-05-06 23:54:56 -07:00
.eslintrc.yml Add eslint-config-airbnb-base dependency of eslint-config-airbnb-typescript 2021-08-27 04:17:32 -07:00
.gitignore Use ncc to compile action 2021-05-03 22:24:36 -07:00
.licensed.yml Add CI workflow to check for unapproved npm dependency licenses 2022-08-16 02:32:53 -07:00
.markdown-link-check.json Configure link check to use Accept-Encoding header for docs.github.com links 2022-05-30 09:35:01 -07:00
.markdownlint.yml Add source URL comments to standardized assets 2021-08-13 14:36:00 -07:00
.markdownlintignore Ignore node_modules on fixers and linters 2021-12-03 16:32:52 +01:00
.npmrc Configure npm to enforce standard project Node.js version 2024-08-01 13:25:01 -07:00
.prettierignore Add CI workflow to check for unapproved npm dependency licenses 2022-08-16 02:32:53 -07:00
action.yml chore: bump Node.js runtime from 20 to 24 2026-06-27 16:44:23 -04:00
CONTRIBUTING.md chore: bump Node.js runtime from 20 to 24 2026-06-27 16:44:23 -04:00
jest.config.ts Add reference comment for Jest configuration 2026-06-30 07:58:25 -07:00
LICENSE Remove extraneous text from license file 2021-05-03 20:44:42 -07:00
package-lock.json build(deps-dev): bump markdown-link-check from 3.14.2 to 3.15.0 2026-07-28 11:42:45 +00:00
package.json build(deps-dev): bump markdown-link-check from 3.14.2 to 3.15.0 2026-07-28 11:42:45 +00:00
poetry.lock build(deps-dev): bump codespell from 2.4.2 to 2.4.3 2026-07-16 11:42:30 +00:00
pyproject.toml build(deps-dev): bump codespell from 2.4.2 to 2.4.3 2026-07-16 11:42:30 +00:00
README.md Update major version ref in readme snippets 2026-06-30 05:25:09 -07:00
Taskfile.yml Convert project to ECMAScript module format 2026-06-29 20:29:34 -07:00
tsconfig.eslint.json Convert project to ECMAScript module format 2026-06-29 20:29:34 -07:00
tsconfig.json Convert project to ECMAScript module format 2026-06-29 20:29:34 -07:00

arduino/setup-task

Test TypeScript status Check TypeScript status Check TypeScript Configuration status Check npm status Integration Tests status Check Action Metadata status Check Prettier Formatting status Check Markdown status Spell Check status Check License status Check npm Dependencies status Sync Labels status

A GitHub Actions action that makes the Task task runner / build tool available to use in your workflow.

Inputs

version

The version of Task to install. Can be an exact version (e.g., 3.4.2) or a version range (e.g., 3.x).

Default: 3.x

repo-token

(Optional) GitHub access token used for GitHub API requests. Heavy usage of the action can result in workflow run failures caused by rate limiting. GitHub provides a more generous allowance for Authenticated API requests.

It will be convenient to use ${{ secrets.GITHUB_TOKEN }}.

Usage

To get the action's default version of Task just add this step:

- name: Install Task
  uses: arduino/setup-task@v3

If you want to pin a major or minor version you can use the .x wildcard:

- name: Install Task
  uses: arduino/setup-task@v3
  with:
    version: 2.x

To pin the exact version:

- name: Install Task
  uses: arduino/setup-task@v3
  with:
    version: 2.6.1

Security

If you think you found a vulnerability or other security-related bug in this project, please read our security policy and report the bug to our Security Team 🛡️ Thank you!

e-mail contact: security@arduino.cc