Skip to content

Commit a582deb

Browse files
authored
Merge pull request #580 from FriendsOfSymfony/distinguish-cache
separate vendor caches
2 parents bc39830 + 3c323d4 commit a582deb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
uses: actions/cache@v4
6868
with:
6969
path: vendor
70-
key: ${{ runner.os }}-vendor
70+
key: ${{ runner.os }}-vendor-php-${{ matrix.php }}
7171

7272
- name: Install composer dependencies
7373
env:
@@ -119,7 +119,7 @@ jobs:
119119
uses: actions/cache@v4
120120
with:
121121
path: vendor
122-
key: ${{ runner.os }}-vendor
122+
key: ${{ runner.os }}-vendor-legacy
123123

124124
- name: Install composer dependencies
125125
# Lowest discovery can end up with an incompatible psr7 implementation, see discussion in https://github.com/FriendsOfSymfony/FOSHttpCache/pull/567
@@ -164,7 +164,7 @@ jobs:
164164
uses: actions/cache@v4
165165
with:
166166
path: vendor
167-
key: ${{ runner.os }}-vendor
167+
key: ${{ runner.os }}-vendor-legacy
168168

169169
- name: Install composer dependencies
170170
run: |
@@ -252,7 +252,7 @@ jobs:
252252
uses: actions/cache@v4
253253
with:
254254
path: vendor
255-
key: ${{ runner.os }}-vendor
255+
key: ${{ runner.os }}-vendor-php-8.2
256256

257257
- name: Install dependencies
258258
run: |

0 commit comments

Comments
 (0)