We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a142f6 commit a1eff03Copy full SHA for a1eff03
.github/workflows/paths.yml
@@ -34,7 +34,7 @@ jobs:
34
run: |
35
RESULT=''
36
for file in ${{ steps.changed-files.outputs.files }}; do
37
- if (( ${#file} > $MAX_LENGTH )); then RESULT+="$file\n"; fi;
+ if (( ${#file} > $MAX_LENGTH )); then RESULT+="$file\n"; echo "::error file=$file::filename longer than $MAX_LENGTH"; fi;
38
done
39
if (( ${#RESULT} )); then printf "The following filenames are longer than $MAX_LENGTH characters:\n${RESULT}" && exit 1; fi;
40
0 commit comments