actions/tar/compress/action.yaml

19 lines
325 B
YAML
Raw Normal View History

2023-08-06 21:57:31 -04:00
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
2023-08-06 22:00:41 -04:00
container: alpine
2023-08-06 21:57:31 -04:00
steps:
- run: |
2023-08-06 22:11:09 -04:00
tar -czf "${{ inputs.out }}" ${{ inputs.pattern }}