forked from open-dynamic-robot-initiative/power-board
-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (30 loc) · 911 Bytes
/
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
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/setup-kicad@v1.0
with:
version: "8.0"
- uses: actions-for-kicad/generate-kicad-files@v1.0
with:
type: schematic_pdf
file: ${{ env.PROJECT }}.kicad_sch
- uses: actions-for-kicad/generate-kicad-files@v1.0
with:
type: schematic_svg
file: ${{ env.PROJECT }}.kicad_sch
- uses: actions-for-kicad/generate-kicad-files@v1.0
with:
type: schematic_bom
file: ${{ env.PROJECT }}.kicad_sch
- name: Upload
uses: actions/upload-artifact@v4
with:
name: ${{ env.PROJECT }}-bom.xml
path: ./${{ env.PROJECT }}-bom.xml