Try to fix the SES import
This commit is contained in:
parent
6563691029
commit
5ce844c717
|
|
@ -1,8 +1,11 @@
|
|||
name: 'Import SES to Kicad'
|
||||
description: 'Import Specctra SES into a Kicad PCB'
|
||||
inputs:
|
||||
pcb_file:
|
||||
description: 'Kicad pcbnew file'
|
||||
pcb_input_file:
|
||||
description: 'Kicad input file'
|
||||
required: true
|
||||
pcb_output_file:
|
||||
description: 'Kicad output file'
|
||||
required: true
|
||||
ses_file:
|
||||
description: 'Specctra SES file'
|
||||
|
|
@ -17,4 +20,4 @@ runs:
|
|||
- |
|
||||
mkdir -p $HOME/.config/kicad ;
|
||||
cp /root/.config/kicad/* $HOME/.config/kicad ;
|
||||
/usr/lib/python2.7/dist-packages/kicad-automation/pcbnew_automation/import_ses.py ${{ inputs.pcb_file }} ${{ inputs.ses_file }}
|
||||
/usr/lib/python2.7/dist-packages/kicad-automation/pcbnew_automation/import_ses.py ${{ inputs.pcb_input_file }} ${{ inputs.ses_file }} --output-file ${{ inputs.pcb_output_file }}
|
||||
|
|
|
|||
|
|
@ -29,7 +29,8 @@ jobs:
|
|||
- name: Import SES into main PCB
|
||||
uses: ./.github/actions/import-ses
|
||||
with:
|
||||
pcb_file: output/pcbs/board.kicad_pcb
|
||||
pcb_input_file: output/pcbs/board.kicad_pcb
|
||||
pcb_output_file: output/pcbs/board_routed.kicad_pcb
|
||||
ses_file: output/pcbs/board.ses
|
||||
- name: Export Gerbers for top plate
|
||||
uses: ./.github/actions/export-gerbers
|
||||
|
|
@ -44,8 +45,8 @@ jobs:
|
|||
- name: Export Gerbers for main PCB
|
||||
uses: ./.github/actions/export-gerbers
|
||||
with:
|
||||
pcb_file: output/pcbs/board.kicad_pcb
|
||||
gerbers_dir: output/gerbers/board
|
||||
pcb_file: output/pcbs/board_routed.kicad_pcb
|
||||
gerbers_dir: output/gerbers/board_routed
|
||||
- name: Persist output
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
|
|
|
|||
Loading…
Reference in New Issue