7
7
runs-on : ubuntu-latest
8
8
steps :
9
9
- name : checkout
10
- uses : actions/checkout@v2
10
+ uses : actions/checkout@master
11
11
12
12
- name : cache package-lock.json
13
- uses : actions/cache@v1
13
+ uses : actions/cache@v2
14
14
with :
15
15
path : package-temp-dir
16
16
key : lock-${{ github.sha }}
27
27
28
28
- name : cache node_modules
29
29
id : node_modules_cache_id
30
- uses : actions/cache@v1
30
+ uses : actions/cache@v2
31
31
with :
32
32
path : node_modules
33
33
key : node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
@@ -40,28 +40,28 @@ jobs:
40
40
runs-on : ubuntu-latest
41
41
steps :
42
42
- name : checkout
43
- uses : actions/checkout@v2
43
+ uses : actions/checkout@master
44
44
45
45
- name : restore cache from package-lock.json
46
- uses : actions/cache@v1
46
+ uses : actions/cache@v2
47
47
with :
48
48
path : package-temp-dir
49
49
key : lock-${{ github.sha }}
50
50
51
51
- name : restore cache from node_modules
52
- uses : actions/cache@v1
52
+ uses : actions/cache@v2
53
53
with :
54
54
path : node_modules
55
55
key : node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
56
56
57
57
- name : cache lib
58
- uses : actions/cache@v1
58
+ uses : actions/cache@v2
59
59
with :
60
60
path : lib
61
61
key : lib-${{ github.sha }}
62
62
63
63
- name : cache es
64
- uses : actions/cache@v1
64
+ uses : actions/cache@v2
65
65
with :
66
66
path : es
67
67
key : es-${{ github.sha }}
@@ -74,16 +74,16 @@ jobs:
74
74
runs-on : ubuntu-latest
75
75
steps :
76
76
- name : checkout
77
- uses : actions/checkout@v2
77
+ uses : actions/checkout@master
78
78
79
79
- name : restore cache from package-lock.json
80
- uses : actions/cache@v1
80
+ uses : actions/cache@v2
81
81
with :
82
82
path : package-temp-dir
83
83
key : lock-${{ github.sha }}
84
84
85
85
- name : restore cache from node_modules
86
- uses : actions/cache@v1
86
+ uses : actions/cache@v2
87
87
with :
88
88
path : node_modules
89
89
key : node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
@@ -96,26 +96,26 @@ jobs:
96
96
runs-on : ubuntu-latest
97
97
steps :
98
98
- name : checkout
99
- uses : actions/checkout@v2
99
+ uses : actions/checkout@master
100
100
101
101
# with:
102
102
# token: ${{ secrets.ACCESS_TOKEN }}
103
103
# - name: Checkout submodules
104
- # uses: actions/checkout@v2
104
+ # uses: actions/checkout@master
105
105
# with:
106
106
# repository: tangjinzhou/antdv-demo
107
107
# token: ${{ secrets.ACCESS_TOKEN }}
108
108
# path: antdv-demo
109
109
# submodules: true
110
110
111
111
- name : restore cache from package-lock.json
112
- uses : actions/cache@v1
112
+ uses : actions/cache@v2
113
113
with :
114
114
path : package-temp-dir
115
115
key : lock-${{ github.sha }}
116
116
117
117
- name : restore cache from node_modules
118
- uses : actions/cache@v1
118
+ uses : actions/cache@v2
119
119
with :
120
120
path : node_modules
121
121
key : node_modules-${{ hashFiles('**/package-temp-dir/package-lock.json') }}
0 commit comments