-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (42 loc) · 1.27 KB
/
kibot_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
44
45
46
47
48
49
name: "KiBot action"
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
paths:
- '**/*.kicad_sch'
- '**/*.kicad_pcb'
- 'kicad/Dremel_PCB1857_V1.kibot.yaml'
- '.github/workflows/kibot_action.yml'
pull_request:
paths:
- '**/*.kicad_sch'
- '**/*.kicad_pcb'
- 'kicad/Dremel_PCB1857_V1.kibot.yaml'
- '.github/workflows/kibot_action.yml'
repository_dispatch:
types: [run_qs_gha]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
quick:
name: "Quick Start (action)"
runs-on: ubuntu-latest
steps:
- name: Get repo
uses: actions/checkout@v3
with:
# So we can run a diff between last 2 changes
fetch-depth: '0'
- name: Run KiBot
# v2_k6 for v1.5.1 has a permission problem
uses: INTI-CMNB/KiBot@v2_dk7
with:
config: kicad/Dremel_PCB1857_V1.kibot.yaml
dir: 'kicad/Generated'
schema: 'kicad/Dremel_PCB1857_V1.kicad_sch'
board: 'kicad/Dremel_PCB1857_V1.kicad_pcb'
- name: Upload results
uses: actions/upload-artifact@v3
with:
name: Automatic_outputs
path: kicad/Generated