1818 - " Kicad/*.kicad_pro"
1919 - " **/*kibot.yml"
2020
21- env :
22- schema : " Kicad/neotron-pico.kicad_sch"
23- board : " Kicad/neotron-pico.kicad_pcb"
24- dir : " Kicad/docs"
25-
2621jobs :
27- DRC :
28- runs-on : ubuntu-latest
29- container :
30- image : ghcr.io/inti-cmnb/kicad8_auto:1.6.5
31- steps :
32- - uses : actions/checkout@v4
33- with :
34- submodules : true
35- - name : Run KiBot for DRC
36- run : |
37- kibot -c Kicad/docs.kibot.yml -e ${{env.schema}} -b ${{env.board}} -d ${{env.dir}} -s run_erc -v -i
38- ERC :
39- runs-on : ubuntu-latest
40- container :
41- image : ghcr.io/inti-cmnb/kicad8_auto:1.6.5
42- steps :
43- - uses : actions/checkout@v4
44- with :
45- submodules : true
46- - name : Run KiBot for ERC
47- run : |
48- kibot -c Kicad/docs.kibot.yml -e ${{env.schema}} -b ${{env.board}} -d ${{env.dir}} -s run_drc -v -i
4922 build :
5023 runs-on : ubuntu-latest
51- needs : [ERC, DRC]
5224 container :
53- image : ghcr.io/inti-cmnb/kicad8_auto :1.6.5
25+ image : ghcr.io/inti-cmnb/kicad9_auto :1.8.2
5426 steps :
5527 - uses : actions/checkout@v4
5628 with :
@@ -59,24 +31,21 @@ jobs:
5931 if : github.event_name == 'push' && startswith(github.ref, 'refs/tags/')
6032 id : branch_name
6133 run : |
62- echo ::set-output name= SOURCE_TAG:: ${GITHUB_REF#refs/tags/}
63- - name : Run KiBot
34+ echo "{ SOURCE_TAG}= ${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
35+ - name : Run Build
6436 run : |
65- kibot -c Kicad/docs.kibot.yml -e ${{env.schema}} -b ${{env.board}} -d ${{env.dir}} -s run_erc,run_drc -v
37+ bash ./build.sh
6638 - name : Upload KiBot Output
6739 uses : actions/upload-artifact@v4
6840 if : ${{success()}}
6941 with :
7042 name : Build-Outputs
7143 if-no-files-found : error
7244 path : |
73- ${{env.dir}}/**
74- !${{env.dir}}/**/*.ogv
75- !${{env.dir}}/**/*.log
76- !${{env.dir}}/**/*.ini
45+ ./docs/*
7746 - name : Create and Upload Release
7847 if : github.event_name == 'push' && startswith(github.ref, 'refs/tags/')
7948 id : create_release
8049 uses : ncipollo/release-action@v1
8150 with :
82- artifacts : ${{env.dir}}/neotron-pico- *
51+ artifacts : ./docs/ *
0 commit comments