Skip to content

Github actions and KiBot with monorepo #683

Closed Answered by usbalbin
usbalbin asked this question in Q&A
Discussion options

You must be logged in to vote

You don't need to do it. You just need to provide the names including the directory. The GitHub Action will run at the root of the workspace.

So something like this?

name: '...'
on:
  [...]
jobs:
  pcb_foo:
    #<checkout etc...>
    - uses: INTI-CMNB/KiBot@v2_k8
      with:
        config: 'hardware/pcb_foo/config.kibot.yaml'
        schema: 'hardware/pcb_foo/pcb_foo.kicad_sch'
        board: 'hardware/pcb_foo/pcb_foo.kicad_pcb'
        dir: pcb_foo # <--- Where the generated outputs will be placed relative to repo root?

  pcb_bar:
    # <more or less same as pcb_foo>

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@usbalbin
Comment options

Answer selected by usbalbin
@set-soft
Comment options

@usbalbin
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants