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)' runs: using: 'docker' image: 'Dockerfile' args: - -c ${{ inputs.config }} - -d ${{ inputs.dir }} - -b ${{ inputs.board }} - -e ${{ inputs.schema }} branding: icon: 'cpu' color: 'green'