Skip to content

Commit

Permalink
actions: fix composer package cache being useless
Browse files Browse the repository at this point in the history
  • Loading branch information
dktapps committed Dec 3, 2021
1 parent 9f602a2 commit c60f6e1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,10 @@ jobs:
php-version: ${{ matrix.php }}

- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v2
with:
path: "~/.composer/cache"
key: "php-${{ matrix.php }}-composer-${{ hashFiles('**/composer.json') }}"
path: "~/.cache/composer"
key: "php-${{ matrix.php }}-composer-${{ hashFiles('**/composer.json') }}-v2"
restore-keys: "php-${{ matrix.php }}-composer-"

- name: Install dependencies
Expand Down

0 comments on commit c60f6e1

Please # to comment.