File tree 1 file changed +16
-0
lines changed 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change 48
48
path : ${{ steps.yarn-cache-dir.outputs.dir }}
49
49
key : ${{ runner.os }}-yarn-${{ matrix.node_version }}-${{ hashFiles('**/yarn.lock') }}
50
50
restore-keys : |
51
+ ${{ runner.os }}-yarn-${{ matrix.node_version }}-${{ hashFiles('**/yarn.lock') }}
51
52
${{ runner.os }}-yarn-${{ matrix.node_version }}-
52
53
${{ runner.os }}-yarn-
53
54
90
91
${{ runner.os }}-go-${{ matrix.go_version }}-
91
92
${{ runner.os }}-go-
92
93
94
+ - name : get yarn cache dir
95
+ id : yarn-cache-dir
96
+ run : echo "::set-output name=dir::$(yarn cache dir)"
97
+
98
+ - name : yarn cache
99
+ uses : actions/cache@v2
100
+ id : yarn-cache
101
+ with :
102
+ path : ${{ steps.yarn-cache-dir.outputs.dir }}
103
+ key : ${{ runner.os }}-yarn-12.x-${{ hashFiles('**/yarn.lock') }}
104
+ restore-keys : |
105
+ ${{ runner.os }}-yarn-12.x-${{ hashFiles('**/yarn.lock') }}
106
+ ${{ runner.os }}-yarn-12.x-
107
+ ${{ runner.os }}-yarn-
108
+
93
109
- name : setup go v${{ matrix.go_version }}
94
110
uses : actions/setup-go@v2
95
111
with :
You can’t perform that action at this time.
0 commit comments