-
Notifications
You must be signed in to change notification settings - Fork 21
39 lines (37 loc) · 945 Bytes
/
main.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
name: kibot
on:
workflow_dispatch:
push:
paths:
- 'Kicad_Project/*.kicad_sch'
- 'Kicad_Project/*.kicad_pcb'
- '*.kibot.yaml'
- '.github/workflows/main.yml'
pull_request:
paths:
- 'Kicad_Project/*.kicad_sch'
- 'Kicad_Project/*.kicad_pcb'
- '*.kibot.yaml'
- '.github/workflows/main.yml'
jobs:
kibot:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: INTI-CMNB/KiBot@v2_k7
with:
# kibot config file
config: config.kibot.yaml
# prefix to output defined in config
dir: output
# schematic file
schema: 'Kicad_Project/CCC_ESC.kicad_sch'
# PCB design file
board: 'Kicad_Project/CCC_ESC.kicad_pcb'
- name: list results
run: 'ls -R -l'
- name: upload results
uses: actions/upload-artifact@v2
with:
name: MP2_ESC_JLCPCB
path: './output/JLCPCB/CCC_ESC-JLCPCB.zip'