fix: update GitHub Actions workflow ensuring unicode is used

This commit is contained in:
2026-01-20 20:37:35 -05:00
parent 0bc85d90ac
commit 1342dfb64e
3 changed files with 8 additions and 5 deletions

View File

@@ -16,10 +16,13 @@ jobs:
- name: Update README
env:
LANG: en_US.UTF-8
LC_ALL: en_US.UTF-8
run: |
LOC=$(grep '"total_code"' public/code-stats.json | sed 's/[^0-9]*//g')
FORMATTED_LOC=$(printf "%'d" $LOC)
echo "Injecting $FORMATTED_LOC into README.template..."
sed "s/REPLACE_ME_LOC/$FORMATTED_LOC/g" README.template > README.md