Skip to content

Commit 35d2f78

Browse files
committed
chore: fix path to puzzle files
The error looked like this: pdd.xml has been modified todos-in-code.tsv has been modified grep: pdd.xml: No such file or directory pdd.xml: 0 puzzles sed: can't read todos-in-code.tsv: No such file or directory todos-in-code.tsv: 0 todos PUZZLES_FILES_MODIFIED=yes
1 parent a79e06b commit 35d2f78

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/todos-extract-from-code.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ jobs:
9393
fi
9494
9595
if [ "$PUZZLES_FILES_MODIFIED" = 'yes' ]; then
96-
printf 'pdd.xml: %d puzzles\n' "$(grep -c '<puzzle>' pdd.xml)"
97-
printf 'todos-in-code.tsv: %d todos\n' "$(sed 1d todos-in-code.tsv | wc -l)"
96+
printf 'pdd.xml: %d puzzles\n' "$(grep -c '<puzzle>' generated-todos/pdd.xml)"
97+
printf 'todos-in-code.tsv: %d todos\n' "$(sed 1d generated-todos/todos-in-code.tsv | wc -l)"
9898
else
9999
echo 'neither pdd.xml nor todos-in-code.tsv have been modified'
100100
fi

0 commit comments

Comments
 (0)