Update tar/extract/action.yaml
This commit is contained in:
		
							
								
								
									
										16
									
								
								tar/extract/action.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								tar/extract/action.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,16 @@
 | 
			
		||||
name: Extract Archive
 | 
			
		||||
desciption: Extract files from gziped archive
 | 
			
		||||
 | 
			
		||||
inputs:
 | 
			
		||||
  file:
 | 
			
		||||
    requried: false
 | 
			
		||||
    type: string
 | 
			
		||||
    default: archive.tar.gz
 | 
			
		||||
 | 
			
		||||
runs:
 | 
			
		||||
  using: composite
 | 
			
		||||
  steps:
 | 
			
		||||
    - uses: docker://alpine
 | 
			
		||||
      with:
 | 
			
		||||
        entrypoint: tar
 | 
			
		||||
        args: -xzf ${{inputs.file}}
 | 
			
		||||
		Reference in New Issue
	
	Block a user