File tree 1 file changed +13
-1
lines changed
1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change 31
31
- uses : actions/cache@v2
32
32
with :
33
33
path : ${{ steps.composer-cache.outputs.dir }}
34
- key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock', '**/composer.json' ) }}
34
+ key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
35
35
restore-keys : |
36
36
${{ runner.os }}-composer-
37
37
42
42
run : |
43
43
composer cgl:ci
44
44
45
+ - name : Get yarn cache directory path
46
+ id : yarn-cache-dir-path
47
+ run : echo "::set-output name=dir::$(yarn cache dir)"
48
+
49
+ - uses : actions/cache@v2
50
+ id : yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
51
+ with :
52
+ path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
53
+ key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
54
+ restore-keys : |
55
+ ${{ runner.os }}-yarn-
56
+
45
57
- name : Yarn install
46
58
run : yarn install --silent
47
59
You can’t perform that action at this time.
0 commit comments