Skip to content

Commit a1eff03

Browse files
committed
Try annotations
1 parent 3a142f6 commit a1eff03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/paths.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
run: |
3535
RESULT=''
3636
for file in ${{ steps.changed-files.outputs.files }}; do
37-
if (( ${#file} > $MAX_LENGTH )); then RESULT+="$file\n"; fi;
37+
if (( ${#file} > $MAX_LENGTH )); then RESULT+="$file\n"; echo "::error file=$file::filename longer than $MAX_LENGTH"; fi;
3838
done
3939
if (( ${#RESULT} )); then printf "The following filenames are longer than $MAX_LENGTH characters:\n${RESULT}" && exit 1; fi;
4040

0 commit comments

Comments
 (0)