diff --git a/.gitea/workflows/kibot.yml b/.gitea/workflows/kibot.yml index 97c079f..65a4b20 100644 --- a/.gitea/workflows/kibot.yml +++ b/.gitea/workflows/kibot.yml @@ -205,6 +205,13 @@ jobs: name: JLCPCB-${{ steps.layers.outputs.layers }}layer path: Generated/*_JLCPCB_compress.zip + - name: Retrieve results - Diff Report + if: steps.generate_diff.outputs.has_diff == 'true' + uses: actions/upload-artifact@v3 + with: + name: Schematic-PCB-Diff + path: Generated/DIFF + # Deploy to documentation branch deploy: runs-on: kicad-kibot-runner diff --git a/kibot.yaml b/kibot.yaml index a41c40a..cda1c24 100644 --- a/kibot.yaml +++ b/kibot.yaml @@ -232,6 +232,38 @@ outputs: output: '%f-report.%x' do_convert: true + # Schematic diff + - name: 'sch_diff' + comment: "Schematic diff PDF" + type: diff + dir: DIFF + disabled_by_default: false + options: + output: '%f-schematic-diff.%x' + format: PDF + diff_mode: 'red_green' + old: 'HEAD~1' + new: 'HEAD' + cache_dir: '.cache' + add_link_id: true + only_different: true + + # PCB diff + - name: 'pcb_diff' + comment: "PCB diff PDF" + type: diff + dir: DIFF + disabled_by_default: false + options: + output: '%f-pcb-diff.%x' + format: PDF + diff_mode: 'red_green' + old: 'HEAD~1' + new: 'HEAD' + cache_dir: '.cache' + pcb: true + only_different: true + # JLCPCB fabrication package - name: 'jlcpcb_gerbers' comment: "Gerbers for JLCPCB"