-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yaml
More file actions
28 lines (28 loc) · 728 Bytes
/
Copy pathaction.yaml
File metadata and controls
28 lines (28 loc) · 728 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: "Go Task Runner"
description: 'Installs go-task and run tasks'
inputs:
version:
description: 'Version of go-task to use'
required: false
default: 'latest'
tasks:
description: "Tasks to run, separated by spaces"
required: true
outputs:
output:
description: "Task output"
value: ${{ steps.task-run.outputs.output}}
runs:
using: "composite"
steps:
- name: "Install latest go-task"
id: install
run: sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -b ~/.local/bin -d "${{ inputs.version }}"
shell: bash
- name: "Run tasks"
id: task-run
run: ~/.local/bin/task ${{ inputs.tasks }}
shell: bash
branding:
icon: 'zap'
color: 'blue'