Skip to content

Commit 4137d4c

Browse files
author
Anonymous Committer
committed
Default justoneapi-python README to Chinese
1 parent fa9c92e commit 4137d4c

4 files changed

Lines changed: 726 additions & 721 deletions

File tree

.github/workflows/sync-readme-openapi.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030

3131
- name: Update English README API list
3232
env:
33-
README_FILE: README.md
33+
README_FILE: README.en.md
3434
README_LANG: en
3535
OPENAPI_BASIC_AUTH_USER: ${{ secrets.OPENAPI_BASIC_AUTH_USER }}
3636
OPENAPI_BASIC_AUTH_PASS: ${{ secrets.OPENAPI_BASIC_AUTH_PASS }}
@@ -40,7 +40,7 @@ jobs:
4040

4141
- name: Update Chinese README API list
4242
env:
43-
README_FILE: README.zh-CN.md
43+
README_FILE: README.md
4444
README_LANG: zh
4545
OPENAPI_BASIC_AUTH_USER: ${{ secrets.OPENAPI_BASIC_AUTH_USER }}
4646
OPENAPI_BASIC_AUTH_PASS: ${{ secrets.OPENAPI_BASIC_AUTH_PASS }}
@@ -55,7 +55,7 @@ jobs:
5555
run: |
5656
git config user.name "github-actions[bot]"
5757
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
58-
git add README.md README.zh-CN.md i18n-cache.json
58+
git add README.md README.en.md README.zh-CN.md i18n-cache.json
5959
git diff --cached --quiet && exit 0
6060
git commit -m "chore: sync README API list"
6161
git pull --rebase origin main

0 commit comments

Comments
 (0)