File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed
Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change 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 :
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
You can’t perform that action at this time.
0 commit comments