Skip to content

Change workflow to use JobSets #35

Change workflow to use JobSets

Change workflow to use JobSets #35

name: AYAB ESP32 Hardware Check
on:
workflow_dispatch:
push:
branches:
- main
paths:
- ayab-esp32/**
pull_request:
branches:
- main
paths:
- ayab-esp32/**
env:
workflow_project_dir: ayab-esp32
kicad_project_name: ayab-esp32
jobs:
buildfiles:
name: Design check
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install KiCad
run: sudo bash ./scripts/dependencies.sh
- name: Verify clean design files
run: |
kicad-cli jobset run --file ./ayab-library/ayab-jobset.kicad_jobset --output 546878ce-2bd2-4fb6-b2a1-e67785afa624 ${workflow_project_dir}/${kicad_project_name}.kicad_pro
- name: Archive artifacts
uses: actions/upload-artifact@v4
if: always()
with:
name: erc-drc-artifacts
path: DesignChecks