From c75ce74338e7de366d10d3b4278ed0677618e08b Mon Sep 17 00:00:00 2001 From: Roy Nilsson Date: Thu, 21 Dec 2023 12:04:56 +0100 Subject: [PATCH] Rename variable 'files' to 'tex_files' --- action.yml | 4 ++-- compile.sh | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 55c2848..3355957 100644 --- a/action.yml +++ b/action.yml @@ -4,7 +4,7 @@ branding: icon: printer color: blue inputs: - files: + tex_files: description: TeX files to be compiled. required: true compiler: @@ -17,6 +17,6 @@ runs: using: docker image: Dockerfile args: - - ${{ inputs.files }} + - ${{ inputs.tex_files }} - ${{ inputs.compiler }} - ${{ inputs.options }} diff --git a/compile.sh b/compile.sh index 417c497..1f59f43 100755 --- a/compile.sh +++ b/compile.sh @@ -6,6 +6,8 @@ files="$1" compiler="$2" options="$3" +echo "Will compile files: $files" + for f in $files; do if [-f "$f" ]; then echo "Compiling '$f'.."