13
13
- ' **.yml'
14
14
- ' doc/assets'
15
15
workflow_dispatch :
16
-
16
+
17
17
env :
18
18
schema : " hw/sch_pcb/${{ github.event.repository.name }}.kicad_sch"
19
19
board : " hw/sch_pcb/${{ github.event.repository.name }}.kicad_pcb"
@@ -32,15 +32,15 @@ jobs:
32
32
submodules : recursive
33
33
token : ${{ secrets.pat }}
34
34
ref : ${{ github.head_ref }}
35
-
36
- - uses : INTI-CMNB/KiBot@v2_dk7
35
+
36
+ - uses : INTI-CMNB/KiBot@v2_dk8
37
37
with :
38
38
config : ${{ env.kibot }}/erc.kibot.yaml
39
39
schema : ${{ env.schema }}
40
40
board : ${{ env.board }}
41
41
dir : ${{ env.dir }}
42
-
43
-
42
+
43
+
44
44
DRC :
45
45
runs-on : ubuntu-latest
46
46
continue-on-error : true
@@ -50,15 +50,15 @@ jobs:
50
50
submodules : recursive
51
51
token : ${{ secrets.pat }}
52
52
ref : ${{ github.head_ref }}
53
-
54
- - uses : INTI-CMNB/KiBot@v2_dk7
53
+
54
+ - uses : INTI-CMNB/KiBot@v2_dk8
55
55
with :
56
56
config : ${{ env.kibot }}/drc.kibot.yaml
57
57
schema : ${{ env.schema }}
58
58
board : ${{ env.board }}
59
59
dir : ${{ env.dir }}
60
-
61
-
60
+
61
+
62
62
schematics :
63
63
runs-on : ubuntu-latest
64
64
continue-on-error : true
68
68
submodules : recursive
69
69
token : ${{ secrets.pat }}
70
70
ref : ${{ github.head_ref }}
71
-
72
- - uses : INTI-CMNB/KiBot@v2_dk7
71
+
72
+ - uses : INTI-CMNB/KiBot@v2_dk8
73
73
with :
74
74
config : ${{ env.kibot }}/schematics.kibot.yaml
75
75
schema : ${{ env.schema }}
81
81
with :
82
82
name : doc_sch
83
83
path : ${{ env.dir }}_docs/**
84
-
84
+
85
85
placement :
86
86
name : " Placement and XML"
87
87
runs-on : ubuntu-latest
@@ -92,21 +92,21 @@ jobs:
92
92
submodules : recursive
93
93
token : ${{ secrets.pat }}
94
94
ref : ${{ github.head_ref }}
95
-
96
- - uses : INTI-CMNB/KiBot@v2_dk7
95
+
96
+ - uses : INTI-CMNB/KiBot@v2_dk8
97
97
with :
98
98
config : ${{ env.kibot }}/placement.kibot.yaml
99
99
schema : ${{ env.schema }}
100
100
board : ${{ env.board }}
101
101
dir : ${{ env.dir }}_docs
102
-
103
- - uses : INTI-CMNB/KiBot@v2_dk7
102
+
103
+ - uses : INTI-CMNB/KiBot@v2_dk8
104
104
with :
105
105
config : ${{ env.kibot }}/xml.kibot.yaml
106
106
schema : ${{ env.schema }}
107
107
board : ${{ env.board }}
108
108
dir : ${{ env.dir }}_docs
109
-
109
+
110
110
# - name: "Rename output"
111
111
# run: |
112
112
# for file in $(find ${{env.dir}} -type f); do sudo mv "${file}" "${file//${{env.project}}/${{env.branch}}}" ; done
@@ -118,7 +118,7 @@ jobs:
118
118
mkdir doc_xml || true ;
119
119
mv hw/sch_pcb/*.xml doc_xml/ || true;
120
120
mv hw/out_docs/*.csv doc_xml/ || true;
121
-
121
+
122
122
- uses : actions/upload-artifact@v3
123
123
if : ${{ success() }}
124
124
with :
@@ -145,14 +145,14 @@ jobs:
145
145
submodules : recursive
146
146
token : ${{ secrets.pat }}
147
147
ref : ${{ github.head_ref }}
148
-
149
- - uses : INTI-CMNB/KiBot@v2_dk7
148
+
149
+ - uses : INTI-CMNB/KiBot@v2_dk8
150
150
with :
151
151
config : ${{ env.kibot }}/report.kibot.yaml
152
152
schema : ${{ env.schema }}
153
153
board : ${{ env.board }}
154
154
dir : ${{ env.dir }}_report
155
-
155
+
156
156
- uses : actions/upload-artifact@v3
157
157
if : ${{ success() }}
158
158
with :
@@ -169,17 +169,17 @@ jobs:
169
169
submodules : recursive
170
170
token : ${{ secrets.pat }}
171
171
ref : ${{ github.head_ref }}
172
-
173
- - uses : INTI-CMNB/KiBot@v2_dk7
172
+
173
+ - uses : INTI-CMNB/KiBot@v2_dk8
174
174
with :
175
175
config : ${{ env.kibot }}/ibom.kibot.yaml
176
176
schema : ${{ env.schema }}
177
177
board : ${{ env.board }}
178
178
dir : ${{ env.dir }}_ibom
179
-
179
+
180
180
- name : " Rename output"
181
181
run : for file in $(find ${{env.dir}} -type f); do sudo mv "${file}" "${file//${{env.project}}/${{env.branch}}}" ; done
182
-
182
+
183
183
- uses : actions/upload-artifact@v3
184
184
if : ${{ success() }}
185
185
with :
@@ -198,8 +198,8 @@ jobs:
198
198
submodules : recursive
199
199
token : ${{ secrets.pat }}
200
200
ref : ${{ github.head_ref }}
201
-
202
- - uses : INTI-CMNB/KiBot@v2_dk7
201
+
202
+ - uses : INTI-CMNB/KiBot@v2_dk8
203
203
with :
204
204
config : ${{ env.kibot }}/gerbers.kibot.yaml
205
205
schema : ${{ env.schema }}
@@ -209,7 +209,7 @@ jobs:
209
209
210
210
- name : " Rename output"
211
211
run : for file in $(find ${{env.dir}}_gerbers -type f); do sudo mv "${file}" "${file//${{env.project}}/${{env.branch}}}" || true ; done
212
-
212
+
213
213
- uses : actions/upload-artifact@v2
214
214
if : ${{ success() }}
215
215
with :
@@ -227,15 +227,15 @@ jobs:
227
227
submodules : recursive
228
228
token : ${{ secrets.pat }}
229
229
ref : ${{ github.head_ref }}
230
-
231
- - uses : INTI-CMNB/KiBot@v2_dk7
230
+
231
+ - uses : INTI-CMNB/KiBot@v2_dk8
232
232
with :
233
233
config : ${{ env.kibot }}/cad.kibot.yaml
234
234
schema : ${{ env.schema }}
235
235
board : ${{ env.board }}
236
236
dir : ${{ env.dir }}_cad
237
-
238
- - uses : INTI-CMNB/KiBot@v2_dk7
237
+
238
+ - uses : INTI-CMNB/KiBot@v2_dk8
239
239
with :
240
240
config : ${{ env.kibot }}/render.kibot.yaml
241
241
schema : ${{ env.schema }}
@@ -248,7 +248,7 @@ jobs:
248
248
with :
249
249
name : doc_cad
250
250
path : ${{ env.dir }}_cad/**
251
-
251
+
252
252
- uses : actions/upload-artifact@v3
253
253
if : ${{ success() }}
254
254
with :
@@ -272,15 +272,15 @@ jobs:
272
272
273
273
- name : Download a Build Artifact
274
274
275
-
275
+
276
276
- name : Remove old manufarturing data
277
- run : |
277
+ run : |
278
278
rm -r hw/cam_profi || true
279
279
rm -r doc/gen || true
280
-
280
+
281
281
- name : Extract to right position
282
282
run : |
283
-
283
+
284
284
mkdir doc || true
285
285
mkdir doc/gen || true
286
286
mkdir doc/gen/img || true
@@ -291,7 +291,7 @@ jobs:
291
291
mkdir hw/cam_profi/gbr || true
292
292
mkdir hw/cam_profi/assembly || true
293
293
mkdir hw/cam_profi/ibom || true
294
-
294
+
295
295
cp -r doc_img/* doc/gen/img || true
296
296
cp -r doc_cad/cad/* doc/gen || true
297
297
cp -r hw_cam_profi/* hw/cam_profi/gbr || true
@@ -313,9 +313,9 @@ jobs:
313
313
rm -r doc_xml || true
314
314
rm -r doc_report || true
315
315
rm -r doc_ibom || true
316
-
316
+
317
317
git add . -f
318
-
318
+
319
319
-
uses :
stefanzweifel/[email protected]
320
320
with :
321
321
commit_message : Update actions products
0 commit comments