Skip to content

Commit

Permalink
Create kicad.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
isabelburgos committed May 5, 2024
1 parent 65a9199 commit eac15d7
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/kicad.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
on: [push]

jobs:
kicad_job:
runs-on: ubuntu-latest
name: My KiCad job
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Export production files
id: production
uses: sparkengineering/kicad-action@v1
if: '!cancelled()'
with:
kicad_sch: "Hardware/PCBs/Open-Beam-Interface/Open Beam Interface.kicad_sch
sch_pdf: true # Generate PDF
sch_bom: true # Generate BOM
kicad_pcb: my-project.kicad_pcb
pcb_gerbers: false # don't generate Gerbers
# Upload production files only if generation succeeded
- name: Upload production files
uses: actions/upload-artifact@v4
if: ${{ steps.production.conclusion == 'success' }}
with:
name: Production files
path: |
${{ github.workspace }}/sch.pdf
${{ github.workspace }}/bom.csv

0 comments on commit eac15d7

Please sign in to comment.