copy/action.yml

24 lines
516 B
YAML
Raw Normal View History

2020-01-04 16:27:56 +08:00
name: 'Copy file'
description: 'Copy local files'
author: 'Ricardo Canastro'
inputs:
flags:
description: 'Flags to use on the cp command. See "man cp" or "cp --help" for more details'
required: false
default: ''
2020-01-04 16:27:56 +08:00
source:
description: 'Source file'
2020-01-04 18:29:34 +08:00
required: true
2020-01-04 16:27:56 +08:00
target:
description: 'Target file'
2020-01-04 18:29:34 +08:00
required: true
2020-01-04 16:27:56 +08:00
runs:
using: 'docker'
image: 'Dockerfile'
2020-01-04 18:29:34 +08:00
args:
- ${{inputs.flags}}
2020-01-04 18:29:34 +08:00
- ${{inputs.source}}
- ${{inputs.target}}
2020-01-04 16:27:56 +08:00
branding:
icon: 'copy'
color: 'green'