Skip to content

Commit c60f6e1

Browse files
committed
actions: fix composer package cache being useless
1 parent 9f602a2 commit c60f6e1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,10 @@ jobs:
1919
php-version: ${{ matrix.php }}
2020

2121
- name: Cache Composer packages
22-
id: composer-cache
2322
uses: actions/cache@v2
2423
with:
25-
path: "~/.composer/cache"
26-
key: "php-${{ matrix.php }}-composer-${{ hashFiles('**/composer.json') }}"
24+
path: "~/.cache/composer"
25+
key: "php-${{ matrix.php }}-composer-${{ hashFiles('**/composer.json') }}-v2"
2726
restore-keys: "php-${{ matrix.php }}-composer-"
2827

2928
- name: Install dependencies

0 commit comments

Comments
 (0)