File tree 2 files changed +14
-16
lines changed
2 files changed +14
-16
lines changed Original file line number Diff line number Diff line change 3
3
4
4
* /** /* .xml
5
5
coverage.out
6
+ node_modules
Original file line number Diff line number Diff line change 1
- name : ' Downloader tool '
2
- description : ' Downloader tool '
1
+ name : setup-hd
2
+ description : Setup hd, on GitHub Actions runners
3
3
inputs :
4
4
version :
5
- description : ' The version of hd'
5
+ description : Version of hd CLI to install
6
6
required : false
7
- default : ' v0.0.69'
8
- tool :
9
- description : ' The desired tool name'
10
- required : true
7
+ default : 0.0.69
11
8
runs :
12
- using : ' docker '
13
- image : ' docker://ghcr.io/linuxsuren/hd:v0.0.69 '
14
- args :
15
- - hd
16
- - install
17
- - ${{ inputs.tool }}
18
- - --fetch=true
19
- - --target=/github/home/
20
- - --force
9
+ using : composite
10
+ steps :
11
+ # We verify the version against a SHA **in the published action itself**, not in the GCS bucket.
12
+ - shell : bash
13
+ run : |
14
+ #!/bin/bash
15
+ curl -L https://github.com/LinuxSuRen/http-downloader/releases/download/v${{ inputs.version }}/hd-linux-amd64.tar.gz | tar xzv hd
16
+ sudo mv hd /usr/bin/hd
17
+ hd fetch
You can’t perform that action at this time.
0 commit comments