Skip to content

Latest commit

 

History

History
63 lines (45 loc) · 2.05 KB

File metadata and controls

63 lines (45 loc) · 2.05 KB
Task GitHub Actions

Task GitHub Action

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

Installation | Documentation | Twitter | Bluesky | Mastodon | Discord

CI status Sync Labels status

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

GitHub access token used for GitHub API requests.

Default: GITHUB_TOKEN

Usage

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

- name: Install Task
  uses: go-task/setup-task@v2

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

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

To pin the exact version:

- name: Install Task
  uses: go-task/setup-task@v2
  with:
    version: 2.6.1