Rename variable 'files' to 'tex_files'

This commit is contained in:
2023-12-21 12:04:56 +01:00
parent 4e6f722228
commit c75ce74338
2 changed files with 4 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ branding:
icon: printer icon: printer
color: blue color: blue
inputs: inputs:
files: tex_files:
description: TeX files to be compiled. description: TeX files to be compiled.
required: true required: true
compiler: compiler:
@@ -17,6 +17,6 @@ runs:
using: docker using: docker
image: Dockerfile image: Dockerfile
args: args:
- ${{ inputs.files }} - ${{ inputs.tex_files }}
- ${{ inputs.compiler }} - ${{ inputs.compiler }}
- ${{ inputs.options }} - ${{ inputs.options }}

View File

@@ -6,6 +6,8 @@ files="$1"
compiler="$2" compiler="$2"
options="$3" options="$3"
echo "Will compile files: $files"
for f in $files; do for f in $files; do
if [-f "$f" ]; then if [-f "$f" ]; then
echo "Compiling '$f'.." echo "Compiling '$f'.."