-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
40 lines (40 loc) · 1.33 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
38
39
40
name: 'KiCad Gerber'
author: 'Emily McLean'
description: 'Generates gerber & drill files for a specified KiCad PCB and places them in a specified directory'
inputs:
input-file:
description: 'The PCB file to process'
required: true
output-directory:
description: 'The directory in which to place the output'
required: false
default: "gerber"
drill-format:
description: 'The drill format to use. Options are gerber, excellon, and none.'
required: false
default: "excellon"
drill-units:
description: 'The units to use for the drill file. Options are in, and mm. Does nothing if drill format is none or gerber.'
required: false
default: "mm"
position-format:
description: 'The position format to use. Options are gerber, csv, ascii, and none'
required: false
default: "none"
position-units:
description: 'The units to use for the position file. Options are in, and mm. Does nothing if position format is none or gerber.'
required: false
default: "in"
runs:
using: 'docker'
image: 'docker://ghcr.io/emilymclean/kicad-gerber:2.1.1'
args:
- ${{ inputs.input-file }}
- ${{ inputs.output-directory }}
- ${{ inputs.drill-format }}
- ${{ inputs.drill-units }}
- ${{ inputs.position-format }}
- ${{ inputs.position-units }}
branding:
icon: 'cpu'
color: 'green'