20 lines
435 B
YAML
20 lines
435 B
YAML
|
# action.yml
|
||
|
name: "Go Toolbox"
|
||
|
description: "A toolbox for golang applications development."
|
||
|
author: "Stanislav N. aka pztrn"
|
||
|
inputs:
|
||
|
command: # id of input
|
||
|
description: "Command to run."
|
||
|
required: true
|
||
|
default: "task"
|
||
|
args:
|
||
|
description: "Arguments to pass to command."
|
||
|
required: true
|
||
|
default: "-l"
|
||
|
runs:
|
||
|
using: "docker"
|
||
|
image: "Dockerfile"
|
||
|
args:
|
||
|
- ${{ inputs.command }}
|
||
|
- ${{ inputs.args }}
|