Update tar/extract/action.yaml

This commit is contained in:
Zakary Timson 2023-11-24 02:54:14 +00:00
parent 937c87ceb8
commit 3ef5fc07bc
2 changed files with 16 additions and 15 deletions

View File

@ -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
View 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}}