Update tar/extract/action.yaml
This commit is contained in:
parent
937c87ceb8
commit
3ef5fc07bc
@ -1,15 +0,0 @@
|
|||||||
name: Deompress Files
|
|
||||||
desciption: Deompress files from a gziped archive
|
|
||||||
|
|
||||||
inputs:
|
|
||||||
file:
|
|
||||||
requried: false
|
|
||||||
type: string
|
|
||||||
default: archive.tar.gz
|
|
||||||
|
|
||||||
runs:
|
|
||||||
using: composite
|
|
||||||
container: alpine
|
|
||||||
steps:
|
|
||||||
- run: |
|
|
||||||
tar -xzf archive.tar,gz
|
|
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}}
|
Loading…
Reference in New Issue
Block a user