Skip to content

GitHub Actions action to make Task available for use in your workflow

License

Notifications You must be signed in to change notification settings

arduino/setup-task

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date
Jun 13, 2024
Jun 26, 2024
Jul 28, 2023
Jun 21, 2024
Jul 6, 2023
Dec 3, 2021
May 7, 2021
Aug 27, 2021
May 4, 2021
Aug 16, 2022
May 30, 2022
Aug 13, 2021
Dec 3, 2021
Aug 16, 2022
Feb 6, 2024
May 4, 2021
Feb 6, 2024
Feb 6, 2024
Feb 6, 2024
May 7, 2021
Jun 26, 2024
Jun 26, 2024
May 24, 2024
May 24, 2024
May 7, 2021
May 7, 2021

Repository files navigation

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@v2

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

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

To pin the exact version:

- name: Install Task
  uses: arduino/setup-task@v2
  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