Get rid of command-args separation.
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
Stanislav Nikitin 2024-07-19 23:19:23 +05:00
parent bf978b222b
commit 21040eaa65
Signed by: pztrn
GPG Key ID: 1E944A0F0568B550

View File

@ -3,16 +3,12 @@ name: "Go Toolbox"
description: "A toolbox for golang applications development."
author: "Stanislav N. aka pztrn"
inputs:
command: # id of input
command:
description: "Command to run."
required: true
default: "task"
args:
description: "Arguments to pass to command."
required: true
default: "-l"
default: "task -l"
runs:
using: "docker"
image: "Dockerfile"
args:
- ${{ inputs.command }} ${{ inputs.args }}
- ${{ inputs.command }}