update runner script
Some checks failed
MVS Upload & Execute / upload-and-run (push) Failing after 5s
Some checks failed
MVS Upload & Execute / upload-and-run (push) Failing after 5s
This commit is contained in:
parent
3d01c1f1b5
commit
075f5d6a02
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user