File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change 4848 path : ${{ steps.yarn-cache-dir.outputs.dir }}
4949 key : ${{ runner.os }}-yarn-${{ matrix.node_version }}-${{ hashFiles('**/yarn.lock') }}
5050 restore-keys : |
51+ ${{ runner.os }}-yarn-${{ matrix.node_version }}-${{ hashFiles('**/yarn.lock') }}
5152 ${{ runner.os }}-yarn-${{ matrix.node_version }}-
5253 ${{ runner.os }}-yarn-
5354
9091 ${{ runner.os }}-go-${{ matrix.go_version }}-
9192 ${{ runner.os }}-go-
9293
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+
93109 - name : setup go v${{ matrix.go_version }}
94110 uses : actions/setup-go@v2
95111 with :
You can’t perform that action at this time.
0 commit comments