Skip to content

Commit f7a57ea

Browse files
authored
revert changes at #42 (#44)
没有测试过就不要推了,害人害己。
1 parent 0135a3f commit f7a57ea

1 file changed

Lines changed: 7 additions & 12 deletions

File tree

.github/workflows/genlocale.yml

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,17 @@ jobs:
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"

0 commit comments

Comments
 (0)