File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 5858 echo "- [$title]($(basename "$d") \"$id\")"
5959 done > "$base_dir/index.md"
6060
61+ - name : Update statistics
62+ run : |
63+ STATS="|"
64+ for rank in ./kata/*; do
65+ STATS+=" $(find $rank -mindepth 1 -maxdepth 1 -not -empty -type d | wc -l) |"
66+ done
67+ sed -i "28s/.*/$STATS/" ./docs/README.md
68+
6169 - name : Commit changes
6270 id : git
6371 env :
Original file line number Diff line number Diff line change 2727 run : |
2828 sed -i -r "s/(completed%20kata-).*(%25-red.svg)/\1$PERCENT\2/g" ./docs/README.md
2929
30- - name : Update statistics
31- run : |
32- STATS="|"
33- for rank in ./kata/*; do
34- STATS+=" $(find $rank -mindepth 1 -maxdepth 1 -not -empty -type d | wc -l) |"
35- done
36- sed -i "28s/.*/$STATS/" ./docs/README.md
37-
3830 - name : Commit changes
3931 run : |
4032 git add -A
You can’t perform that action at this time.
0 commit comments