fix: update GitHub Actions workflow ensuring unicode is used
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user