-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathaction.yml
28 lines (28 loc) · 1008 Bytes
/
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
27
28
name: 'Install Tool'
description: 'Install & cache common scripts and binaries.'
inputs:
binary:
description: 'Name of the binary. E.g. "architect"'
required: true
version:
description: 'Version. E.g. "architect"'
required: true
download_url:
description: 'Download URL template. Available variables are ${binary} and ${version}. If the URL has to extension then no unarchiving will happen.'
required: false
default: 'https://github.com/giantswarm/${binary}/releases/download/v${version}/${binary}-v${version}-linux-amd64.tar.gz'
tarball_binary_path:
description: 'Template of the binary path in the tarball. Can contain wildcards.'
required: false
default: '*/${binary}'
smoke_test:
description: 'Template of the binary smoke test.'
required: false
default: '${binary} version'
binary_new_name:
description: 'Name of the binary once is installed. E.g. "aws"'
required: false
outputs: {}
runs:
using: 'node20'
main: 'dist/index.js'