actions/tar/action.yaml

20 lines
375 B
YAML

name: Compress Archive
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}}