revert changes at #42 (#44)

没有测试过就不要推了,害人害己。
This commit is contained in:
源文雨 2023-04-13 14:13:29 +08:00 committed by GitHub
parent 0135a3f71f
commit f7a57ea92b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,11 +8,11 @@ jobs:
- name: Check out
uses: actions/checkout@master
- name: Extract i18n
run: python3 extract_locale.py
- name: Sync i18n to zh_CN.json
python3 "./locale/locale_diff.py"
- name: Run locale generation
run: |
python3 extract_locale.py
cd locale
python3 locale_diff.py
- name: Commit back
if: ${{ !github.head_ref }}
@ -20,10 +20,5 @@ jobs:
run: |
git config --local user.name 'github-actions[bot]'
git config --local user.email '41898282+github-actions[bot]@users.noreply.github.com'
git add .
git commit -m "🎨 Update i18n(更新本地化)"
- name: push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: main
git add --all
git commit -m "🎨 同步 locale"