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 8593ec3
Show file tree
Hide file tree
Showing 8 changed files with 323 additions and 467 deletions.
29 changes: 0 additions & 29 deletions .github/workflows/buildDatapack.yml

This file was deleted.

36 changes: 25 additions & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,42 @@
name: build

name: Generate Datapack
on:
push:
paths:
- '**.sch'
- '**.kicad_sch'
- '**.kicad_pcb'
pull_request:
paths:
- '**.sch'
- '**.kicad_sch'
- '**.kicad_pcb'

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# Use current kicad repo
- uses: actions/checkout@master

# 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@master
with:
repository: Cimos/kibot-config
path: ./kibot-config


# Use kibot build.
- uses: INTI-CMNB/KiBot@v1.7.0
with:
# Required - kibot config file
config: config.kibot.yaml
config: kibot-config/build.kibot.yaml
dir: output
schema: 'Mad_RP2040.kicad_sch'
board: 'Mad_RP2040.kicad_pcb'
- name: upload results
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
Expand Down
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 8593ec3

Please sign in to comment.