Skip to content

Commit 7e68da3

Browse files
committed
Generated PCB image view
1 parent 604c15d commit 7e68da3

File tree

4 files changed

+12
-5
lines changed

4 files changed

+12
-5
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ jobs:
1717

1818
- name: Run KiCad ERC
1919
id: erc
20-
uses: vikulin/kicad-action@simplified_version
20+
uses: vikulin/kicad-action@main
2121
if: '!cancelled()'
2222
with:
2323
kicad_sch: gamma-spectrometer.kicad_sch
2424
sch_erc_file: erc.rpt
2525

2626
- name: Run KiCad DRC
2727
id: drc
28-
uses: vikulin/kicad-action@simplified_version
28+
uses: vikulin/kicad-action@main
2929
if: '!cancelled()'
3030
with:
3131
kicad_pcb: gamma-spectrometer.kicad_pcb
@@ -36,7 +36,7 @@ jobs:
3636
mkdir -p build
3737
3838
- name: Run KiCad export
39-
uses: vikulin/kicad-action@simplified_version
39+
uses: vikulin/kicad-action@main
4040
with:
4141
kicad_sch: gamma-spectrometer.kicad_sch
4242
kicad_pcb: gamma-spectrometer.kicad_pcb
@@ -47,6 +47,8 @@ jobs:
4747
pcb_gerbers_layers: F.Cu,B.Cu,F.SilkS,B.SilkS,F.Mask,B.Mask,Edge.Cuts
4848
pcb_centroids_file: build/open-gamma-kit-centroid-file-${{ github.ref_name }}.csv
4949
pcb_centroids_format: csv
50+
pcb_top_image_file: build/pcb-3dview-latest-f.png
51+
pcb_bottom_image_file: build/pcb-3dview-latest-b.png
5052

5153
- name: Upload Artifacts
5254
if: github.ref_type == 'tag'
@@ -58,6 +60,8 @@ jobs:
5860
build/open-gamma-kit-centroid-file-${{ github.ref_name }}.csv
5961
build/BOM.csv
6062
docs/open-gamma-kit-${{ github.ref_name }}.pdf
63+
build/pcb-3dview-latest-f.png
64+
build/pcb-3dview-latest-b.png
6165
6266
- name: Generate Changelog Since Last Tag
6367
if: github.ref_type == 'tag'
@@ -96,5 +100,7 @@ jobs:
96100
build/open-gamma-kit-centroid-file-${{ github.ref_name }}.csv
97101
build/BOM.csv
98102
docs/open-gamma-kit-${{ github.ref_name }}.pdf
103+
build/pcb-3dview-latest-f.png
104+
build/pcb-3dview-latest-b.png
99105
env:
100106
GITHUB_TOKEN: ${{ secrets.CUSTOM_GITHUB_TOKEN }}

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,10 @@ OpenGammaKit is designed to be affordable, reliable, and easy to integrate with
2929

3030
<p align="center">
3131
<br>
32-
<img alt="3d Front View of the detector board" title="3d Front View of the detector board" width="500px" src="docs/pcb-3dview-v0.1.4-f.png">
32+
<img alt="3d Front View of the detector board" title="3d Front View of the detector board" width="500px" src="releases/latest/download/pcb-3dview-latest-f.png">
3333
<br>
34-
<img alt="3d Back View of the detector board" title="3d Back View of the detector board" width="500px" src="docs/pcb-3dview-v0.1.4-b.png">
34+
<img alt="3d Back View of the detector board" title="3d Back View of the detector board" width="500px"
35+
src="releases/latest/download/pcb-3dview-latest-b.png">
3536
</p>
3637

3738
---

docs/pcb-3dview-v0.1.4-b.png

-173 KB
Binary file not shown.

docs/pcb-3dview-v0.1.4-f.png

-211 KB
Binary file not shown.

0 commit comments

Comments
 (0)