Merge pull request #73 from andrewmv/12f-usb-board #9
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: Generate Gerber and PCB Files | |
on: | |
push: | |
paths: | |
- '**.sch' | |
- '**.kicad_pcb' | |
- '.github/**.yml' # Trigger on changes to the workflow file | |
- '**.kibot.yml' # Trigger on changes to the KiBot config file used in the workflow | |
pull_request: | |
paths: | |
- '**.sch' | |
- '**.kicad_pcb' | |
- '.github/**.yml' # Trigger on changes to the workflow file | |
- '**.kibot.yml' # Trigger on changes to the KiBot config file used in the workflow | |
# To allow for manual triggering from the Action console, add workflow_dispatch | |
workflow_dispatch: | |
inputs: | |
name: | |
description: 'Reason for build' | |
required: false | |
default: 'Generate new gerber files' | |
jobs: | |
d1_mini_esp32_wide: | |
name: D1 Mini Wide - ESP32 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: INTI-CMNB/KiBot@v2_k7 | |
with: | |
# Required - kibot config file | |
config: kicad_files/jlcpcb_gerbers.kibot.yaml | |
# optional - prefix to output defined in config | |
dir: output | |
schema: kicad_files/D1 Mini Wide - ESP32/RatGDO-OpenSource-D1Mini-ESP32.kicad_sch | |
board: kicad_files/D1 Mini Wide - ESP32/RatGDO-OpenSource-D1Mini-ESP32.kicad_pcb | |
- name: upload results | |
uses: actions/upload-artifact@v3 | |
with: | |
name: D1 Mini Wide - ESP32 | |
path: output | |
d1_mini_esp32: | |
name: D1 Mini - ESP32 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: INTI-CMNB/KiBot@v2_k7 | |
with: | |
# Required - kibot config file | |
config: kicad_files/jlcpcb_gerbers.kibot.yaml | |
# optional - prefix to output defined in config | |
dir: output | |
schema: kicad_files/D1 Mini - ESP32/RatGDO-OpenSource-D1Mini-ESP32.kicad_sch | |
board: kicad_files/D1 Mini - ESP32/RatGDO-OpenSource-D1Mini-ESP32.kicad_pcb | |
- name: upload results | |
uses: actions/upload-artifact@v3 | |
with: | |
name: D1 Mini - ESP32 | |
path: output | |
d1_mini_esp8266: | |
name: D1 Mini - ESP8266 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: INTI-CMNB/KiBot@v2_k7 | |
with: | |
# Required - kibot config file | |
config: kicad_files/jlcpcb_gerbers.kibot.yaml | |
# optional - prefix to output defined in config | |
dir: output | |
schema: kicad_files/D1 Mini - ESP8266/RatGDO-OpenSource-D1Mini-ESP8266.kicad_sch | |
board: kicad_files/D1 Mini - ESP8266/RatGDO-OpenSource-D1Mini-ESP8266.kicad_pcb | |
- name: upload results | |
uses: actions/upload-artifact@v3 | |
with: | |
name: D1 Mini - ESP8266 | |
path: output | |
bare_esp8266: | |
name: Bare ESP8266 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: INTI-CMNB/KiBot@v2_k7 | |
with: | |
# Required - kibot config file | |
config: kicad_files/jlcpcb_gerbers.kibot.yaml | |
# optional - prefix to output defined in config | |
dir: output | |
schema: kicad_files/Bare ESP8266/RatGDO-OpenSource-Bare-ESP8266.kicad_sch | |
board: kicad_files/Bare ESP8266/RatGDO-OpenSource-Bare-ESP8266.kicad_pcb | |
- name: upload results | |
uses: actions/upload-artifact@v3 | |
with: | |
name: Bare ESP8266 | |
path: output |