Skip to content

Commit 6d1bd9b

Browse files
committed
fail-on-cache-miss: for grabbing arbitrary builds.
1 parent 8247320 commit 6d1bd9b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ jobs:
8383
with:
8484
path: ${{ env.build }}
8585
key: build-bmake-${{ matrix.os }}-gcc-DEBUG-AUSAN-${{ github.sha }} # arbitrary build, just for cvtpcre
86+
fail-on-cache-miss: true
8687

8788
- name: Convert PCRE suite
8889
if: steps.cache-cvtpcre.outputs.cache-hit != 'true'
@@ -163,6 +164,7 @@ jobs:
163164
with:
164165
path: ${{ env.wc }}
165166
key: checkout-${{ github.sha }}
167+
fail-on-cache-miss: true
166168

167169
- name: Cache build
168170
uses: actions/cache@v5
@@ -241,6 +243,7 @@ jobs:
241243
with:
242244
path: ${{ env.wc }}
243245
key: checkout-${{ github.sha }}
246+
fail-on-cache-miss: true
244247

245248
# An arbitary build.
246249
- name: Fetch build
@@ -249,6 +252,7 @@ jobs:
249252
with:
250253
path: ${{ env.build }}
251254
key: build-${{ matrix.make }}-${{ matrix.os }}-${{ matrix.cc }}-${{ matrix.debug }}-${{ matrix.san }}-${{ github.sha }}
255+
fail-on-cache-miss: true
252256

253257
# We don't need to build the entire repo to know that the makefiles work,
254258
# I'm just deleting a couple of .o files and rebuilding those instead.
@@ -330,6 +334,7 @@ jobs:
330334
with:
331335
path: ${{ env.wc }}
332336
key: checkout-${{ github.sha }}
337+
fail-on-cache-miss: true
333338

334339
- name: Dependencies (Ubuntu)
335340
if: matrix.os == 'ubuntu-22.04'
@@ -389,6 +394,7 @@ jobs:
389394
with:
390395
path: ${{ env.wc }}
391396
key: checkout-${{ github.sha }}
397+
fail-on-cache-miss: true
392398

393399
- name: Dependencies (Ubuntu)
394400
if: matrix.os == 'ubuntu-22.04'
@@ -562,6 +568,7 @@ jobs:
562568
with:
563569
path: ${{ env.wc }}
564570
key: checkout-${{ github.sha }}
571+
fail-on-cache-miss: true
565572

566573
- name: Get number of CPU cores
567574
if: steps.cache-docs.outputs.cache-hit != 'true'
@@ -616,6 +623,7 @@ jobs:
616623
with:
617624
path: ${{ env.wc }}
618625
key: checkout-${{ github.sha }}
626+
fail-on-cache-miss: true
619627

620628
- name: Fetch build
621629
if: steps.cache-prefix.outputs.cache-hit != 'true'

0 commit comments

Comments
 (0)