No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

kicad.yml 949B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. name: PCB
  2. # build for each push and pull request
  3. on: [push, pull_request]
  4. jobs:
  5. fabrication:
  6. runs-on: ubuntu-latest
  7. permissions:
  8. contents: write
  9. steps:
  10. - name: Checkout repo
  11. uses: actions/checkout@v4
  12. with:
  13. fetch-depth: 0
  14. - name: Install dependencies
  15. run: |
  16. sudo add-apt-repository --yes ppa:kicad/kicad-7.0-releases
  17. sudo apt update
  18. sudo apt install -y --install-recommends kicad
  19. sudo apt-get install -y zip
  20. - name: Generate fabrication files
  21. run: |
  22. ./hardware/generate_fab.sh
  23. - name: Upload board files
  24. uses: actions/upload-artifact@v4.0.0
  25. with:
  26. name: dispensy-pcb
  27. path: hardware/fabrication
  28. - name: Upload release files
  29. if: startsWith(github.ref, 'refs/tags/')
  30. uses: softprops/action-gh-release@v1
  31. with:
  32. files: hardware/fab.zip