Rename variable 'files' to 'tex_files'
This commit is contained in:
@@ -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 }}
|
||||
|
||||
@@ -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'.."
|
||||
|
||||
Reference in New Issue
Block a user