Skip to content

Commit

Permalink
Update github actions
Browse files Browse the repository at this point in the history
Remove double up on actions

Remove kibot config file to what the action is looking for

Update date on title block

Update github actions

update github action

update schematic

Add options.yaml
  • Loading branch information
Cimos committed Aug 7, 2024
1 parent 923845d commit e29280d
Show file tree
Hide file tree
Showing 8 changed files with 441 additions and 585 deletions.
29 changes: 0 additions & 29 deletions .github/workflows/buildDatapack.yml

This file was deleted.

72 changes: 43 additions & 29 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,43 @@
name: build

on:
push:
paths:
- '**.sch'
- '**.kicad_pcb'
pull_request:
paths:
- '**.sch'
- '**.kicad_pcb'

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: INTI-CMNB/KiBot@v1.7.0
with:
# Required - kibot config file
config: config.kibot.yaml
dir: output
schema: 'Mad_RP2040.kicad_sch'
board: 'Mad_RP2040.kicad_pcb'
- name: upload results
uses: actions/upload-artifact@v2
with:
name: output
path: output
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
6 changes: 3 additions & 3 deletions Controller_RP2040.kicad_sch
Original file line number Diff line number Diff line change
Expand Up @@ -1121,7 +1121,7 @@
)
(wire
(pts
(xy 262.89 46.355) (xy 269.875 46.355)
(xy 262.89 46.99) (xy 269.875 46.99)
)
(stroke
(width 0)
Expand Down Expand Up @@ -1291,7 +1291,7 @@
)
(wire
(pts
(xy 269.875 43.18) (xy 269.875 46.355)
(xy 269.875 43.18) (xy 269.875 46.99)
)
(stroke
(width 0)
Expand Down Expand Up @@ -1950,7 +1950,7 @@
(uuid "d0283dde-93dd-4060-ac3f-fd3a8b44711a")
)
(label "3V3"
(at 262.89 46.355 0)
(at 262.89 46.99 0)
(fields_autoplaced yes)
(effects
(font
Expand Down
Loading

0 comments on commit e29280d

Please sign in to comment.