1
0
mirror of synced 2024-11-15 03:07:40 +01:00
Retrieval-based-Voice-Conve.../.github/workflows/genlocale.yml
Workflow config file is invalid. Please check your config file: yaml: line 15: could not find expected ':'
唐澤 克幸 5c92ddd1e1
让README有条不紊地进行,以及所有这些 (#42)
* update

* Update README.ja.md
2023-04-12 13:33:11 +00:00

29 lines
822 B
YAML

name: genlocale
on: [ push ]
jobs:
golangci:
name: genlocale
runs-on: ubuntu-latest
steps:
- 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: Commit back
if: ${{ !github.head_ref }}
continue-on-error: true
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