actions/tar/compress/action.yaml

19 lines
352 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
container: alpine/git
steps:
- run: |
2023-08-06 22:00:23 -04:00
tar -czvf archive.tar,gz $(find . -type f -name "${{ inputs.pattern }}" )