actions/tar/compress/action.yaml

19 lines
325 B
YAML

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