rev 3 #18
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: KiCad CI/CD | |
on: | |
workflow_dispatch: | |
push: | |
paths: | |
- '**.sch' | |
- '**.kicad_pcb' | |
pull_request: | |
paths: | |
- '**.sch' | |
- '**.kicad_pcb' | |
jobs: | |
LanguageCard: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Get repo | |
uses: actions/checkout@v3 | |
with: | |
# So we can run a diff between last 2 changes | |
fetch-depth: '0' | |
- name: Run KiBot | |
uses: INTI-CMNB/KiBot@v2_k6 | |
with: | |
config: LanguageCard.kibot.yaml | |
schema: LanguageCard.kicad_sch | |
board: LanguageCard.kicad_pcb | |
- name: Upload results | |
uses: actions/upload-artifact@v2 | |
with: | |
name: Automatic_outputs | |
path: Generated |