[Bug] 修复CI的bug (#105)
* Finish CI * Fix CI * Fix CI * Fix CI * Fix CI * Fix CI * Fix CI * Fix CI * Fix CI * Fix CI * Fix CI * Fix CI * Fix CI * Fix CI * Fix CI * Fix CI * Fix CI * Fix CI * Fix CI * Fix CI * Fix CI * Fix CI * Fix CI * Fix CI * Fix CI * Fix CI * Fix CI * Fix CI * Fix CI * Fix CI * Fix CI * Fix CI * Fix CI * Fix CI * Fix CI * Fix CI * Fix CI * Fix CI * Fix CI * Fix CI * Update English version * Fix CI bugs * Remove trailing spaces
This commit is contained in:
parent
3d74adf44e
commit
414e3f8dd2
6
.github/workflows/auto-translate.yml
vendored
6
.github/workflows/auto-translate.yml
vendored
@ -42,7 +42,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
mkdir parent
|
mkdir parent
|
||||||
|
|
||||||
- name: Checkout parent commit
|
- name: Download parent commit
|
||||||
shell: python
|
shell: python
|
||||||
run: |
|
run: |
|
||||||
import requests
|
import requests
|
||||||
@ -105,7 +105,6 @@ jobs:
|
|||||||
for a,atem in enumerate(del_list):
|
for a,atem in enumerate(del_list):
|
||||||
newlines.pop(atem - a)
|
newlines.pop(atem - a)
|
||||||
|
|
||||||
|
|
||||||
for k,ktem in enumerate(newlines):
|
for k,ktem in enumerate(newlines):
|
||||||
# ktem = ktem.lstrip('+ ').lstrip('# ')
|
# ktem = ktem.lstrip('+ ').lstrip('# ')
|
||||||
print(ktem)
|
print(ktem)
|
||||||
@ -143,6 +142,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: temp_trans_file
|
name: temp_trans_file
|
||||||
|
|
||||||
|
- name: Git as GitHub Actions Bot
|
||||||
|
uses: Lucky3028/git-as-gha@v1.0.0
|
||||||
|
|
||||||
- name: Commit translation to review branch
|
- name: Commit translation to review branch
|
||||||
shell: sh
|
shell: sh
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user