Update tar/action.yaml
This commit is contained in:
parent
0cc916f70b
commit
937c87ceb8
@ -1,18 +1,19 @@
|
||||
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 }}
|
||||
name: Tar
|
||||
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}}
|
Loading…
Reference in New Issue
Block a user