Update tar/action.yaml
This commit is contained in:
parent
0cc916f70b
commit
937c87ceb8
@ -1,18 +1,19 @@
|
|||||||
name: Compress Files
|
name: Tar
|
||||||
desciption: Compress files into a gziped archive
|
desciption: Compress files into a gziped archive
|
||||||
|
|
||||||
inputs:
|
inputs:
|
||||||
pattern:
|
pattern:
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
out:
|
out:
|
||||||
requried: false
|
requried: false
|
||||||
type: string
|
type: string
|
||||||
default: archive.tar.gz
|
default: archive.tar.gz
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: composite
|
using: composite
|
||||||
container: alpine
|
steps:
|
||||||
steps:
|
- uses: docker://alpine
|
||||||
- run: |
|
with:
|
||||||
tar -czf "${{ inputs.out }}" ${{ inputs.pattern }}
|
entrypoint: tar
|
||||||
|
args: -czf "${{inputs.out}}" ${{inputs.pattern}}
|
Loading…
Reference in New Issue
Block a user