forked from INTI-CMNB/KiBot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
37 lines (37 loc) · 1.03 KB
/
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
name: 'KiBot'
description: 'auto generate exports (schematics, gerbers, plots) for any KiCAD project.'
author: 'Salvador E. Tropea'
inputs:
config:
description: 'The plotting config file to use'
required: true
dir:
description: 'The output directory [default: .]'
required: false
default: '.'
board:
description: 'The PCB .kicad-pcb board file [default: first *.kicad_pcb found]'
required: false
# TODO: fix default 'first *.kicad_pcb file found'
# default: '$(ls *.kicad_pcb | head -n1)'
schema:
description: 'The schematic file (.sch) [default: first *.sch found]'
required: false
# TODO: fix default 'first *.sch file found'
# default: '$(ls *.sch | head -n1)'
verbose:
description: 'Verbosity level [default: 0]'
required: false
default: '0'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- -c ${{ inputs.config }}
- -d ${{ inputs.dir }}
- -b ${{ inputs.board }}
- -e ${{ inputs.schema }}
- -v ${{ inputs.verbose }}
branding:
icon: 'cpu'
color: 'green'