Skip to content

Commit 34ae8cb

Browse files
committed
fix contaienr args
1 parent 727d628 commit 34ae8cb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

action.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,7 @@ runs:
1818
using: 'docker'
1919
image: 'docker://ghcr.io/linalinn/kicad-render:nightly'
2020
args:
21-
- if [ -n "$INPUT_ANIMATION") ]; then render-pcb.sh -f $INPUT_PCB_FILE -o $INPUT_OUTPUT_PATH -b INPUT_BACKGROUND -a $INPUT_ANIMATION else render-pcb.sh -f $INPUT_PCB_FILE -o $INPUT_OUTPUT_PATH -b INPUT_BACKGROUND if
21+
- bash
22+
- -c
23+
- 'if [ -n "$INPUT_ANIMATION" ]; then render-pcb.sh -f $INPUT_PCB_FILE -o $INPUT_OUTPUT_PATH -b $INPUT_BACKGROUND -a $INPUT_ANIMATION; else render-pcb.sh -f $INPUT_PCB_FILE -o $INPUT_OUTPUT_PATH -b $INPUT_BACKGROUND; fi'
2224

0 commit comments

Comments
 (0)