mirror of
https://github.com/canastro/copy-action.git
synced 2024-11-23 06:43:50 +08:00
24 lines
516 B
YAML
24 lines
516 B
YAML
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: ''
|
|
source:
|
|
description: 'Source file'
|
|
required: true
|
|
target:
|
|
description: 'Target file'
|
|
required: true
|
|
runs:
|
|
using: 'docker'
|
|
image: 'Dockerfile'
|
|
args:
|
|
- ${{inputs.flags}}
|
|
- ${{inputs.source}}
|
|
- ${{inputs.target}}
|
|
branding:
|
|
icon: 'copy'
|
|
color: 'green' |