update runner script
Some checks failed
MVS Upload & Execute / upload-and-run (push) Failing after 5s

This commit is contained in:
Greg Gauthier 2025-10-19 14:03:47 +01:00
parent 3d01c1f1b5
commit 075f5d6a02

View File

@ -17,7 +17,8 @@ jobs:
run: | run: |
# Try to list changed .c or .bas files from last commit # Try to list changed .c or .bas files from last commit
CHANGED_FILES=$(git diff --name-only HEAD~1 -- '*.c' '*.bas' 2>/dev/null | head -1) CHANGED_FILES=$(git diff --name-only HEAD~1 -- '*.c' '*.bas' 2>/dev/null | head -1)
echo "Changed files from last commit: ${CHANGED_FILES}"
# Fail if no C/BAS files were found
if [ -z "$CHANGED_FILES" ]; then if [ -z "$CHANGED_FILES" ]; then
echo "No C/BAS files found; skipping." echo "No C/BAS files found; skipping."
exit 1 exit 1