added jlc zip creation
This commit is contained in:
@@ -198,6 +198,13 @@ jobs:
|
|||||||
name: Fabrication-Package-${{ steps.layers.outputs.layers }}layer
|
name: Fabrication-Package-${{ steps.layers.outputs.layers }}layer
|
||||||
path: Generated/*.zip
|
path: Generated/*.zip
|
||||||
|
|
||||||
|
- name: Retrieve results - JLCPCB Package
|
||||||
|
if: steps.config_check.outputs.found == 'true'
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: JLCPCB-${{ steps.layers.outputs.layers }}layer
|
||||||
|
path: Generated/*_JLCPCB_compress.zip
|
||||||
|
|
||||||
# Deploy to documentation branch
|
# Deploy to documentation branch
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: kicad-kibot-runner
|
runs-on: kicad-kibot-runner
|
||||||
|
|||||||
61
kibot.yaml
61
kibot.yaml
@@ -232,6 +232,67 @@ outputs:
|
|||||||
output: '%f-report.%x'
|
output: '%f-report.%x'
|
||||||
do_convert: true
|
do_convert: true
|
||||||
|
|
||||||
|
# JLCPCB fabrication package
|
||||||
|
- name: 'jlcpcb_gerbers'
|
||||||
|
comment: "Gerbers for JLCPCB"
|
||||||
|
type: gerber
|
||||||
|
dir: JLCPCB
|
||||||
|
options:
|
||||||
|
output: '%f%i.%x'
|
||||||
|
exclude_edge_layer: false
|
||||||
|
exclude_pads_from_silkscreen: true
|
||||||
|
plot_sheet_reference: false
|
||||||
|
plot_footprint_refs: true
|
||||||
|
plot_footprint_values: false
|
||||||
|
force_plot_invisible_refs_vals: false
|
||||||
|
tent_vias: true
|
||||||
|
use_protel_extensions: true # JLCPCB prefers Protel extensions
|
||||||
|
create_gerber_job_file: false # JLCPCB doesn't need this
|
||||||
|
disable_aperture_macros: true
|
||||||
|
gerber_precision: 4.6
|
||||||
|
use_gerber_x2_attributes: false
|
||||||
|
use_gerber_net_attributes: false
|
||||||
|
line_width: 0.1
|
||||||
|
subtract_mask_from_silk: true
|
||||||
|
layers:
|
||||||
|
- F.Cu
|
||||||
|
- B.Cu
|
||||||
|
- In1.Cu
|
||||||
|
- In2.Cu
|
||||||
|
- In3.Cu
|
||||||
|
- In4.Cu
|
||||||
|
- F.Paste
|
||||||
|
- B.Paste
|
||||||
|
- F.Silkscreen
|
||||||
|
- B.Silkscreen
|
||||||
|
- F.Mask
|
||||||
|
- B.Mask
|
||||||
|
- Edge.Cuts
|
||||||
|
|
||||||
|
# JLCPCB drill files
|
||||||
|
- name: 'jlcpcb_drill'
|
||||||
|
comment: "Drill files for JLCPCB"
|
||||||
|
type: excellon
|
||||||
|
dir: JLCPCB
|
||||||
|
options:
|
||||||
|
output: '%f%i.%x'
|
||||||
|
metric_units: true
|
||||||
|
minimal_header: false
|
||||||
|
mirror_y_axis: false
|
||||||
|
pth_and_npth_single_file: false # JLCPCB prefers separate files
|
||||||
|
|
||||||
|
# JLCPCB ZIP file
|
||||||
|
- name: 'jlcpcb_zip'
|
||||||
|
comment: "JLCPCB fabrication ZIP"
|
||||||
|
type: compress
|
||||||
|
dir: .
|
||||||
|
options:
|
||||||
|
output: '%f_JLCPCB_compress.%x'
|
||||||
|
format: ZIP
|
||||||
|
files:
|
||||||
|
- source: JLCPCB/*
|
||||||
|
dest: /
|
||||||
|
|
||||||
# Fabrication package (ZIP)
|
# Fabrication package (ZIP)
|
||||||
- name: 'fabrication'
|
- name: 'fabrication'
|
||||||
comment: "Fabrication package"
|
comment: "Fabrication package"
|
||||||
|
|||||||
Reference in New Issue
Block a user