Update production.yml #28
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Diff | |
on: | |
push: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: ghcr.io/inti-cmnb/kicad8_auto_full:latest | |
steps: | |
- name: Checkout branch | |
uses: actions/checkout@v4 | |
with: | |
ref: 2.0.6_Dev | |
path: modified | |
submodules: recursive | |
- name: Checkout main | |
uses: actions/checkout@v4 | |
with: | |
ref: main | |
path: original | |
submodules: recursive | |
- name: Create schematics diff | |
run: | | |
kicad-diff.py original/project/ZSWatch.kicad_sch modified/project/ZSWatch.kicad_sch --diff_mode red_green --all_pages --output_dir diff-schematics --no_reader --keep_pngs | |
- name: Create layout diff | |
run: | | |
kicad-diff.py original/project/ZSWatch.kicad_pcb modified/project/ZSWatch.kicad_pcb --diff_mode red_green --all_pages --output_dir diff-layout --no_reader --keep_pngs | |
- name: Upload Layout Diff | |
uses: actions/upload-artifact@v4 | |
with: | |
name: "diff-layout-master-${{ github.ref_name }}" | |
path: diff-layout | |
if-no-files-found: ignore | |
- name: Upload Schematics Diff | |
uses: actions/upload-artifact@v4 | |
with: | |
name: "diff-schematics-master-${{ github.ref_name }}" | |
path: diff-schematics | |
if-no-files-found: ignore |