From 81368dab60179498a2e1e5c26b48a0484c8c7694 Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Fri, 25 Mar 2022 16:49:30 -0300 Subject: [PATCH] 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 --- action.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/action.yml b/action.yml index d8ed8205..81147118 100644 --- a/action.yml +++ b/action.yml @@ -14,10 +14,11 @@ inputs: description: 'The PCB .kicad-pcb board file [default: first *.kicad_pcb found]' required: false default: '__SCAN__' - kicad: - description: 'KiCad major version (5 or 6) [default: 6]' - required: false - default: 6 +# Currently impossible, too much limitations +# kicad: +# description: 'KiCad major version (5 or 6) [default: 6]' +# required: false +# default: 6 schema: description: 'The schematic file (.sch) [default: first *.*sch found]' required: false @@ -40,7 +41,7 @@ inputs: default: '0' runs: using: 'docker' - image: ${{ inputs.kicad == 5 && 'Dockerfile_k5' || 'Dockerfile_k6' }} + image: Dockerfile args: - -c ${{ inputs.config }} - -d ${{ inputs.dir }}