Skip to content

Commit 4e095c5

Browse files
author
¨ged¨
committed
Fixed headerpin diameter, updated workflow
1 parent 1feb9df commit 4e095c5

8 files changed

Lines changed: 1528 additions & 1403 deletions

File tree

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ on:
44
push:
55
branches:
66
- "main"
7-
path:
8-
- audioVisualizer_PCB/
7+
paths:
8+
- audioVisualizer_PCB/**
99

1010
jobs:
1111
build:
@@ -18,6 +18,8 @@ jobs:
1818

1919
steps:
2020
- uses: actions/checkout@v4
21+
with:
22+
persist-credentials: true
2123
- name: addRepo
2224
run: sudo add-apt-repository -y ppa:kicad/kicad-9.0-releases && sudo apt -y update
2325
- uses: ConorMacBride/install-package@v1.1.0
@@ -26,6 +28,14 @@ jobs:
2628
- name: exportPdf
2729
run: kicad-cli sch export pdf -b --output ./audioVisualizer_PCB/Preview/temp.pdf audioVisualizer_PCB/audioVisualizer_PCB.kicad_sch
2830
- name: convertToPng
29-
run: pdftoppm -png -r 300 ./audioVisualizer_PCB/Preview/temp.pdf ./audioVisualizer_PCB/Preview/Schematic.png
30-
31+
run: pdftoppm -png -r 300 ./audioVisualizer_PCB/Preview/temp.pdf ./audioVisualizer_PCB/Preview/Schematic
32+
- name: Commit schematic png
33+
run: |
34+
git config user.name "${{ github.actor}}"
35+
git config user.email "${{github.actor}}@users.noreply.github.com"
36+
git add ./audioVisualizer_PCB/Preview/Schematic-1.png
37+
git diff --cached --quiet || git commit -m "Update schematic preview [skip ci]"
38+
git push
39+
- name: debug
40+
run: ls -l ./audioVisualizer_PCB/Preview
3141

.vscode/configurationCache.log

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ Made a small Add-on type PCB that laches on the back of the LED matrix.
1313

1414
![Image](audioVisualizer_PCB/Preview/PCB.png)
1515

16-
![Document](audioVisualizer_PCB/Preview/test.png-1.png)
16+
![Document](audioVisualizer_PCB/Preview/Schematic-1.png)
17+
1718

1819

1920
## Components

audioVisualizer_PCB/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
*.kicad_prl
1414
*.sch-bak
1515
*~
16+
audioVisualizer_PCB/Preview/temp.pdf
1617
_autosave-*
1718
*.tmp
1819
*-save.pro
File renamed without changes.

0 commit comments

Comments
 (0)