Fix typo causing files to not be found

This commit is contained in:
2023-12-21 12:33:47 +01:00
parent 7b37281e3e
commit d738a2b244

View File

@@ -6,12 +6,8 @@ files="$1"
compiler="$2"
options="$3"
echo "Workspace: $GITHUB_WORKSPACE"
cd "$GITHUB_WORKSPACE"
ls -lh ./
for f in $files; do
if [-f "$f" ]; then
if [ -f "$f" ]; then
echo "Compiling '$f'.."
$compiler $options $f
else