Skip to content

Commit 7a32e72

Browse files
committed
Add a GitHub Action config file
1 parent cdc9c8d commit 7a32e72

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

action.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: 'Downloader tool'
2+
description: 'Downloader tool'
3+
inputs:
4+
version:
5+
description: 'The version of hd'
6+
required: false
7+
default: 'v0.0.68'
8+
tool:
9+
description: 'The desired tool name'
10+
required: true
11+
runs:
12+
using: 'docker'
13+
image: 'docker://ghcr.io/linuxsuren/hd:v0.0.68'
14+
args:
15+
- hd
16+
- get
17+
- ${{ inputs.tool }}
18+
- --fetch=true
19+
- --output=/github/home/${{ inputs.tool }}

0 commit comments

Comments
 (0)