actions/tar/action.yaml

20 lines
375 B
YAML
Raw Normal View History

2023-11-23 21:55:09 -05:00
name: Compress Archive
2023-11-23 21:52:16 -05:00
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}}