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
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 }}

View File

@@ -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'.."