File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 - name : Check out
99 uses : actions/checkout@master
1010
11- - name : Extract i18n
12- run : python3 extract_locale.py
13-
14- - name : Sync i18n to zh_CN.json
15- python3 "./locale/ locale_diff.py"
11+ - name : Run locale generation
12+ run : |
13+ python3 extract_locale.py
14+ cd locale
15+ python3 locale_diff.py
1616
1717 - name : Commit back
1818 if : ${{ !github.head_ref }}
1919 continue-on-error : true
2020 run : |
2121 git config --local user.name 'github-actions[bot]'
2222 git config --local user.email '41898282+github-actions[bot]@users.noreply.github.com'
23- git add .
24- git commit -m "🎨 Update i18n(更新本地化)"
25- - name : push changes
26- uses : ad-m/github-push-action@master
27- with :
28- github_token : ${{ secrets.GITHUB_TOKEN }}
29- branch : main
23+ git add --all
24+ git commit -m "🎨 同步 locale"
You can’t perform that action at this time.
0 commit comments