Update tar/action.yaml

This commit is contained in:
Zakary Timson 2023-11-24 02:52:16 +00:00
parent 0cc916f70b
commit 937c87ceb8

View File

@ -1,18 +1,19 @@
name: Compress Files
desciption: Compress files into a gziped archive
inputs:
pattern:
required: true
type: string
out:
requried: false
type: string
default: archive.tar.gz
runs:
using: composite
container: alpine
steps:
- run: |
tar -czf "${{ inputs.out }}" ${{ inputs.pattern }}
name: Tar
desciption: Compress files into a gziped archive
inputs:
pattern:
required: true
type: string
out:
requried: false
type: string
default: archive.tar.gz
runs:
using: composite
steps:
- uses: docker://alpine
with:
entrypoint: tar
args: -czf "${{inputs.out}}" ${{inputs.pattern}}