File tree Expand file tree Collapse file tree 2 files changed +13
-16
lines changed Expand file tree Collapse file tree 2 files changed +13
-16
lines changed Original file line number Diff line number Diff line change 33
44* /** /* .xml 
55coverage.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 
33inputs :
44  version :
5-     description : ' The version  of hd' 
5+     description : Version  of hd CLI to install 
66    required : false 
7-     default : ' v0.0.69' 
8-   tool :
9-     description : ' The desired tool name' 
10-     required : true 
7+     default : 0.0.69 
118runs :
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 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments