Skip to content

Commit

Permalink
chore: add capability to run arbitrary command
Browse files Browse the repository at this point in the history
  • Loading branch information
sethyates committed Jun 2, 2020
1 parent 1706884 commit 42c9b2d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,15 @@ inputs:
description: 'Configuration filename'
required: false
default: 'winch.yml'
command:
description: 'Command'
required: false
default: 'ci'
runs:
using: 'docker'
image: "docker://winchci/winch:latest"
args:
- 'winch ci -f ${{ inputs.filename }}'
- 'winch ${{ inputs.command }} -f ${{ inputs.filename }}'
branding:
icon: 'anchor'
color: 'purple'

0 comments on commit 42c9b2d

Please sign in to comment.