Skip to content

Commit 3dc53c0

Browse files
committed
Update tests.yml
1 parent b636db2 commit 3dc53c0

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/tests.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,8 +267,8 @@ jobs:
267267
> infection.json5
268268
cat infection.json5 | jq
269269
270-
- name: "Cache Result cache"
271-
uses: actions/cache@v4
270+
- name: "Restore result cache"
271+
uses: actions/cache/restore@v4
272272
with:
273273
path: ./tmp
274274
key: "result-cache-v1-${{ matrix.php-version }}-${{ github.run_id }}"
@@ -287,3 +287,10 @@ jobs:
287287
--log-verbosity=all \
288288
--debug \
289289
--logger-text=php://stdout
290+
291+
- name: "Save result cache"
292+
uses: actions/cache/save@v4
293+
if: ${{ !cancelled() }}
294+
with:
295+
path: ./tmp
296+
key: "result-cache-v1-${{ matrix.php-version }}-${{ github.run_id }}"

0 commit comments

Comments
 (0)