forked from tzafrirben/babashka-docker-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
44 lines (38 loc) · 962 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Babashka (Clojure)
description: Run babashka script or babashka shell command(s) on GitHub Actions
author: Tzafrir Ben-Ami
branding:
color: 'green'
icon: 'command'
inputs:
bb_src:
description: 'path to the babashka script to execute'
required: false
default: ''
bb_url:
description: 'URL of the babashka script to download and execute'
required: false
default: ''
bb_cmd:
description: 'shell command(s) piped with babashka command(s) to execute'
required: false
default: ''
bb_args:
description: 'babashka script arguments (ignored when using with `bb_cmd` command)'
required: false
default: ''
outputs:
bb_out:
description: 'bb script\command output'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- '--bb_src'
- ${{ inputs.bb_src }}
- '--bb_url'
- ${{ inputs.bb_url }}
- '--bb_cmd'
- ${{ inputs.bb_cmd }}
- '--bb_args'
- ${{ inputs.bb_args }}