Skip to content

Commit a390093

Browse files
committed
action cache updated.
1 parent a9f2d14 commit a390093

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/ci-php.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,11 @@ jobs:
2323
uses: actions/cache@v3
2424
with:
2525
path: vendor
26-
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
27-
restore-keys: |
28-
${{ runner.os }}-php-
26+
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
2927

3028
- name: 🔢 Install dependencies
3129
id: composer-dependencies
30+
if: steps.composer-cache.outputs.cache-hit != 'true'
3231
run: composer install --prefer-dist --no-progress
3332

3433
- name: 🗄️ Run test suite

0 commit comments

Comments
 (0)