123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- name: PCB
-
-
- on: [push, pull_request]
-
- jobs:
- fabrication:
- runs-on: ubuntu-latest
-
- permissions:
- contents: write
-
- steps:
- - name: Checkout repo
- uses: actions/checkout@v4
- with:
- fetch-depth: 0
-
- - name: Checkout repo submodules
- run: git submodule update --init
-
- - name: Install dependencies
- run: |
- sudo add-apt-repository --yes ppa:kicad/kicad-8.0-releases
- sudo apt update
- sudo apt install -y --install-recommends kicad
- sudo apt-get install -y zip
-
- - name: Generate fabrication files
- run: |
- ./hardware/generate_fab.sh
-
- - name: Upload board files
- uses: actions/upload-artifact@v4.0.0
- with:
- name: dispensy-pcb
- path: hardware/fabrication
-
- - name: Upload release files
- if: startsWith(github.ref, 'refs/tags/')
- uses: softprops/action-gh-release@v1
- with:
- files: hardware/fab.zip
|