Get rid of command-args separation.
This commit is contained in:
parent
bf978b222b
commit
21040eaa65
10
action.yml
10
action.yml
@ -3,16 +3,12 @@ name: "Go Toolbox"
|
|||||||
description: "A toolbox for golang applications development."
|
description: "A toolbox for golang applications development."
|
||||||
author: "Stanislav N. aka pztrn"
|
author: "Stanislav N. aka pztrn"
|
||||||
inputs:
|
inputs:
|
||||||
command: # id of input
|
command:
|
||||||
description: "Command to run."
|
description: "Command to run."
|
||||||
required: true
|
required: true
|
||||||
default: "task"
|
default: "task -l"
|
||||||
args:
|
|
||||||
description: "Arguments to pass to command."
|
|
||||||
required: true
|
|
||||||
default: "-l"
|
|
||||||
runs:
|
runs:
|
||||||
using: "docker"
|
using: "docker"
|
||||||
image: "Dockerfile"
|
image: "Dockerfile"
|
||||||
args:
|
args:
|
||||||
- ${{ inputs.command }} ${{ inputs.args }}
|
- ${{ inputs.command }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user