Skip to content

Commit 3c9a472

Browse files
authored
Update crowdin-export.yml
1 parent 8a201b7 commit 3c9a472

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

.github/workflows/crowdin-export.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@ jobs:
55
runs-on: ubuntu-latest
66
env:
77
TIMER_CROWDIN_AUTH: ${{ secrets.TIMER_CROWDIN_AUTH }}
8-
GITHUB_LOGIN: sheepzh
9-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
108
steps:
11-
- uses: actions/checkout@v2
9+
- name: Checkout
10+
uses: actions/checkout@v4
11+
with:
12+
fetch-depth: 0
13+
token: ${{secrets.GITHUB_TOKEN}}
1214
- name: Test using Node.js
1315
uses: actions/setup-node@v1
1416
with:
@@ -21,9 +23,9 @@ jobs:
2123
run: ts-node ./script/crowdin/export-translation.ts
2224
- name: Commit change
2325
run: |
24-
git config --global user.name 'sheepzh'
25-
git config --global user.email 'returnzhy1996@outlook.com'
26-
git add .
27-
git commit -m "Export translations by Github Action"
26+
git config --global user.name 'sheepzh'
27+
git config --global user.email 'returnzhy1996@outlook.com'
28+
git add .
29+
git commit -m "Export translations by Github Action"
2830
- name: Push change
2931
run: git push

0 commit comments

Comments
 (0)