forked from open-dynamic-robot-initiative/power-board
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (35 loc) · 1.08 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: Export Electronics
on: [push]
jobs:
export-electronics:
name: Export Electronics
runs-on: ubuntu-22.04
env:
PROJECT: odri-power-board
steps:
- uses: actions/checkout@v3
- uses: actions-for-kicad/[email protected]
with:
version: "8.0"
- uses: actions-for-kicad/[email protected]
with:
type: schematic_pdf
file: hardware/${{ env.PROJECT }}.kicad_sch
- uses: actions-for-kicad/[email protected]
with:
type: schematic_svg
file: hardware/${{ env.PROJECT }}.kicad_sch
- uses: actions-for-kicad/[email protected]
with:
type: schematic_bom
file: hardware/${{ env.PROJECT }}.kicad_sch
- name: Upload BOM
uses: actions/upload-artifact@v4
with:
name: ${{ env.PROJECT }}-bom.xml
path: ./${{ env.PROJECT }}-bom.xml
- name: Upload Schematic
uses: actions/upload-artifact@v4
with:
name: ${{ env.PROJECT }}.pdf
path: ./${{ env.PROJECT }}.pdf