Skip to content

Commit b2a069b

Browse files
committed
cache/restore where possible.
1 parent 6d1bd9b commit b2a069b

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878

7979
- name: Fetch build
8080
if: steps.cache-cvtpcre.outputs.cache-hit != 'true'
81-
uses: actions/cache@v5
81+
uses: actions/cache/restore@v5
8282
id: cache-build
8383
with:
8484
path: ${{ env.build }}
@@ -159,7 +159,7 @@ jobs:
159159

160160
steps:
161161
- name: Fetch checkout
162-
uses: actions/cache@v5
162+
uses: actions/cache/restore@v5
163163
id: cache-checkout
164164
with:
165165
path: ${{ env.wc }}
@@ -238,7 +238,7 @@ jobs:
238238

239239
steps:
240240
- name: Fetch checkout
241-
uses: actions/cache@v5
241+
uses: actions/cache/restore@v5
242242
id: cache-checkout
243243
with:
244244
path: ${{ env.wc }}
@@ -247,7 +247,7 @@ jobs:
247247

248248
# An arbitary build.
249249
- name: Fetch build
250-
uses: actions/cache@v5
250+
uses: actions/cache/restore@v5
251251
id: cache-build
252252
with:
253253
path: ${{ env.build }}
@@ -329,7 +329,7 @@ jobs:
329329

330330
steps:
331331
- name: Fetch checkout
332-
uses: actions/cache@v5
332+
uses: actions/cache/restore@v5
333333
id: cache-checkout
334334
with:
335335
path: ${{ env.wc }}
@@ -352,7 +352,7 @@ jobs:
352352
${{ matrix.cc }} --version
353353
354354
- name: Fetch build
355-
uses: actions/cache@v5
355+
uses: actions/cache/restore@v5
356356
id: cache-build
357357
with:
358358
path: ${{ env.build }}
@@ -389,7 +389,7 @@ jobs:
389389

390390
steps:
391391
- name: Fetch checkout
392-
uses: actions/cache@v5
392+
uses: actions/cache/restore@v5
393393
id: cache-checkout
394394
with:
395395
path: ${{ env.wc }}
@@ -412,7 +412,7 @@ jobs:
412412
${{ matrix.cc }} --version
413413
414414
- name: Fetch build
415-
uses: actions/cache@v5
415+
uses: actions/cache/restore@v5
416416
id: cache-build
417417
with:
418418
path: ${{ env.build }}
@@ -522,7 +522,7 @@ jobs:
522522
go version
523523
524524
- name: Fetch build
525-
uses: actions/cache@v5
525+
uses: actions/cache/restore@v5
526526
id: cache-build
527527
with:
528528
path: ${{ env.build }}
@@ -563,7 +563,7 @@ jobs:
563563
564564
- name: Fetch checkout
565565
if: steps.cache-docs.outputs.cache-hit != 'true'
566-
uses: actions/cache@v5
566+
uses: actions/cache/restore@v5
567567
id: cache-checkout
568568
with:
569569
path: ${{ env.wc }}
@@ -618,7 +618,7 @@ jobs:
618618
619619
- name: Fetch checkout
620620
if: steps.cache-prefix.outputs.cache-hit != 'true'
621-
uses: actions/cache@v5
621+
uses: actions/cache/restore@v5
622622
id: cache-checkout
623623
with:
624624
path: ${{ env.wc }}
@@ -627,7 +627,7 @@ jobs:
627627

628628
- name: Fetch build
629629
if: steps.cache-prefix.outputs.cache-hit != 'true'
630-
uses: actions/cache@v5
630+
uses: actions/cache/restore@v5
631631
id: cache-build
632632
with:
633633
path: ${{ env.build }}
@@ -679,7 +679,7 @@ jobs:
679679
fpm -v
680680
681681
- name: Fetch prefix
682-
uses: actions/cache@v5
682+
uses: actions/cache/restore@v5
683683
id: cache-prefix
684684
with:
685685
path: ${{ env.prefix }}

0 commit comments

Comments
 (0)