This commit is contained in:
2023-04-28 15:15:15 -07:00
parent 0e6e2f40e3
commit 48ce5df1b4
6 changed files with 148 additions and 1 deletions

25
itchio/butler/action.yaml Normal file
View File

@@ -0,0 +1,25 @@
name: butler
description: "Run butler client commands."
inputs:
command:
description: "Arguments to pass into butler."
required: true
apiKey:
description: "Itch.io API key."
required: true
catchErrors:
description: "Whether or not errors should be handled."
required: false
outputs:
console:
description: "The console output of the butler command."
exitCode:
description: "How the program exited."
runs:
using: docker
image: Dockerfile
env:
CATCH_ERRORS: ${{ inputs.catchErrors }}
BUTLER_API_KEY: ${{ inputs.apiKey }}
args:
- ${{ inputs.command }}