generated from k3rnels-actions/action-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
26 lines (26 loc) · 1.01 KB
/
action.yml
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
name: 'setup-tool-binary'
description: 'A basic GitHub Action to install an arbitrary tool binary into $PATH for use within a workflow.'
author: 'k3rnel-pan1c'
branding:
icon: 'play-circle'
color: 'green'
inputs:
toolName:
required: true
description: 'The name of the tool you want to install via this action.'
toolRepository:
required: false
description: 'Conditionally required if you to use the "toolRepository" templateLiteral within the urlTemplate.'
toolVersion:
required: true
description: 'The version of the tool you want to install.'
urlTemplate:
required: true
description: 'The URL template to download your tool of choice from.'
default: 'https://github.com/{{toolRepository}}/{{toolName}}/releases/download/v{{version}}/{{toolName}}-{{version}}-{{platform}}-amd64.tar.gz'
smokeTestTemplate:
required: false
description: 'In case you want to run a smoke test to validate that your tool was installed properly.'
runs:
using: 'node16'
main: 'dist/index.js'