File tree Expand file tree Collapse file tree 1 file changed +8
-11
lines changed Expand file tree Collapse file tree 1 file changed +8
-11
lines changed Original file line number Diff line number Diff line change 7
7
workflow_dispatch :
8
8
jobs :
9
9
build :
10
- strategy :
11
- matrix :
12
- include :
13
- - NodeVersion : 20.9.x
14
- NodeVersionDisplayName : 20
15
- OS : ubuntu-latest
16
- name : Node.js v${{ matrix.NodeVersionDisplayName }} (${{ matrix.OS }})
17
- runs-on : ${{ matrix.OS }}
10
+ runs-on : ubuntu-latest
11
+ env :
12
+ NODE_VERSION : ' 18'
13
+ GIT_USER_NAME : ' mocayo'
14
+ GIT_USER_EMAIL : ' qihai@bytedance.com'
18
15
steps :
19
16
- uses : actions/checkout@v3
20
17
with :
@@ -23,12 +20,12 @@ jobs:
23
20
- name : Config Git User
24
21
# should be turn to ci user
25
22
run : |
26
- git config --local user.name "mocayo"
27
- git config --local user.email "qihai@bytedance.com"
23
+ git config --local user.name ${{ env.GIT_USER_NAME }}
24
+ git config --local user.email ${{ env.GIT_USER_EMAIL }}
28
25
29
26
- uses : actions/setup-node@v3
30
27
with :
31
- node-version : ${{ matrix.NodeVersion }}
28
+ node-version : ${{ env.NODE_VERSION }}
32
29
33
30
- name : Cache
34
31
uses : actions/cache@v4
You can’t perform that action at this time.
0 commit comments