File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed
Expand file tree Collapse file tree 1 file changed +47
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Generate Fabrication Outputs
2+
3+ on :
4+ push :
5+ branches :
6+ - dev
7+
8+ jobs :
9+ generate-fabrication-files :
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - name : Checkout Repository
14+ uses : actions/checkout@v3
15+
16+ - name : Setup Python
17+ uses : actions/setup-python@v4
18+ with :
19+ python-version : ' 3.9'
20+
21+ - name : Install dependencies
22+ run : sudo apt-get install python-wxtools
23+ - name : Install KiCad
24+ run : |
25+ sudo add-apt-repository --yes ppa:kicad/kicad-8.0-releases
26+ sudo apt update
27+ sudo apt install --install-recommends kicad
28+
29+ - name : Install Fabrication Toolkit
30+ run : |
31+ git clone https://github.com/bennymeg/Fabrication-Toolkit.git
32+ ls
33+ cp -r Fabrication-Toolkit/plugins/* ~/.kicad/plugins/
34+ cp -r Fabrication-Toolkit/resources/* ~/.kicad/plugins/
35+
36+ - name : Run fab toolkit cli
37+ run : python3 -m plugins.cli -p /KiCad/Rev_1_0/RP2040-Decoder.kicad_pcb
38+
39+ - name : Archive Outputs
40+ run : |
41+ zip -r fabrication_outputs.zip fabrication_outputs
42+
43+ - name : Upload Artifact
44+ uses : actions/upload-artifact@v3
45+ with :
46+ name : fabrication-outputs
47+ path : fabrication_outputs.zip
You can’t perform that action at this time.
0 commit comments