Add tar/compress/action.yaml
This commit is contained in:
parent
30d195045e
commit
b4f0871aa8
18
tar/compress/action.yaml
Normal file
18
tar/compress/action.yaml
Normal file
@ -0,0 +1,18 @@
|
||||
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: |
|
||||
tar -czvf archive.tar,gz $(find . -type f -name ${{ inputs.pattern }} )
|
Loading…
Reference in New Issue
Block a user