Skip to content

Add todo

Add todo #13

Workflow file for this run

name: Generate Datapack
on:
push:
paths:
- '**.kicad_sch'
- '**.kicad_pcb'
pull_request:
paths:
- '**.kicad_sch'
- '**.kicad_pcb'
jobs:
build:
runs-on: ubuntu-latest
steps:
# Use current kicad repo commit that triggered this build.
- uses: actions/checkout@v3
# Run bash command to get kicad file name.
- name: Get Kicad Project Name
run: echo "PROJECT_NAME=$(basename *.kicad_pro .kicad_pro)" >> $GITHUB_ENV
# Checkout kibot config repo
- name: Get Kibot Config
uses: actions/checkout@main
with:
repository: Cimos/kibot-config
path: ./kibot-config
# Use kibot build.
- uses: INTI-CMNB/KiBot@v1.7.0
with:
config: kibot-config/build.kibot.yaml
dir: output
schema: '${{ env.PROJECT_NAME }}.kicad_sch'
board: '${{ env.PROJECT_NAME }}.kicad_pcb'
# verbose: 2
# Update artifacts
- name: Upload Results
uses: actions/upload-artifact@v2
with:
name: output
path: output