Skip to content

Illbjorn/setup-task

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

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Overview

setup-taskfile is a simple GitHub Action to setup Taskfile and add it to $GITHUB_PATH for the remainder of the Workflow job.

Usage

Example:

name: Demo

on: push

jobs:
  demo:
    name: Demo
    runs-on: ubuntu-latest
    steps:
      - name: Setup Task
        uses: illbjorn/setup-taskfile@main

      - name: Invoke Task
        shell: bash
        run: task my-task # Success!

Inputs

Input Description Required Default
task_version If a specific release version of task is desired - provide its Git tag here. false v3.38.0
bin_dir The path to store the retrieved Task binary. false ${{ github.workspace }}/.local/share/task
token The GitHub token for the gh CLI's usage. false ${{ github.token }}