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