Reverted kicad parameter
GitHub can't: - pass build args to docker - select any file other than Dockerfile - share data in a container created inside another container
This commit is contained in:
parent
25f1aabefe
commit
81368dab60
11
action.yml
11
action.yml
|
|
@ -14,10 +14,11 @@ inputs:
|
||||||
description: 'The PCB .kicad-pcb board file [default: first *.kicad_pcb found]'
|
description: 'The PCB .kicad-pcb board file [default: first *.kicad_pcb found]'
|
||||||
required: false
|
required: false
|
||||||
default: '__SCAN__'
|
default: '__SCAN__'
|
||||||
kicad:
|
# Currently impossible, too much limitations
|
||||||
description: 'KiCad major version (5 or 6) [default: 6]'
|
# kicad:
|
||||||
required: false
|
# description: 'KiCad major version (5 or 6) [default: 6]'
|
||||||
default: 6
|
# required: false
|
||||||
|
# default: 6
|
||||||
schema:
|
schema:
|
||||||
description: 'The schematic file (.sch) [default: first *.*sch found]'
|
description: 'The schematic file (.sch) [default: first *.*sch found]'
|
||||||
required: false
|
required: false
|
||||||
|
|
@ -40,7 +41,7 @@ inputs:
|
||||||
default: '0'
|
default: '0'
|
||||||
runs:
|
runs:
|
||||||
using: 'docker'
|
using: 'docker'
|
||||||
image: ${{ inputs.kicad == 5 && 'Dockerfile_k5' || 'Dockerfile_k6' }}
|
image: Dockerfile
|
||||||
args:
|
args:
|
||||||
- -c ${{ inputs.config }}
|
- -c ${{ inputs.config }}
|
||||||
- -d ${{ inputs.dir }}
|
- -d ${{ inputs.dir }}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue