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." 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 }}