Fix modifier keys not working correctly on their own #13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- "1.15" | |
jobs: | |
auto-fix: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
token: "${{ secrets.CUSTOMGHTOKEN }}" | |
- name: Fix language file names | |
run: | | |
for lang in src/main/resources/assets/*/lang/*.json | |
do | |
rename=$(echo "$lang" | sed -e 's/\b\w\+\.json$/\L\0/' -e 's/\b\([a-z]\+\)\.json$/\/\1_\1.json/') | |
mv "$lang" "$rename" || true | |
done | |
- name: Commit | |
uses: EndBug/add-and-commit@v9 | |
with: | |
add: 'src/main/resources/assets' | |
default_author: github_actions | |
message: Fix language file names |