fix: update GitHub Actions workflow ensuring unicode is used

This commit is contained in:
patrick committed 2026-01-20 20:37:35 -05:00
1 parent 0bc85d90ac
commit 1342dfb64e
3 files changed
+8 -5

No files matched your search

+4 -1
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