Skip to content

Commit 20a8d8c

Browse files
authored
ci: Fail on cache restore where necessary (#13349)
This should at least make it clearer why/where stuff is failing.
1 parent 3fc12c6 commit 20a8d8c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -977,6 +977,7 @@ jobs:
977977
with:
978978
path: ${{ github.workspace }}/packages/*/*.tgz
979979
key: ${{ env.BUILD_CACHE_TARBALL_KEY }}
980+
fail-on-cache-miss: true
980981

981982
- name: Install Playwright
982983
uses: ./.github/actions/install-playwright
@@ -1076,6 +1077,7 @@ jobs:
10761077
with:
10771078
path: ${{ github.workspace }}/packages/*/*.tgz
10781079
key: ${{ env.BUILD_CACHE_TARBALL_KEY }}
1080+
fail-on-cache-miss: true
10791081

10801082
- name: Install Playwright
10811083
uses: ./.github/actions/install-playwright
@@ -1446,6 +1448,7 @@ jobs:
14461448
path: ${{ env.CACHED_DEPENDENCY_PATHS }}
14471449
key: ${{ needs.job_build.outputs.dependency_cache_key }}
14481450
enableCrossOsArchive: true
1451+
fail-on-cache-miss: true
14491452

14501453
- name: Restore build cache
14511454
uses: actions/cache/restore@v4
@@ -1454,6 +1457,7 @@ jobs:
14541457
path: ${{ env.CACHED_BUILD_PATHS }}
14551458
key: ${{ needs.job_build.outputs.dependency_cache_key }}
14561459
enableCrossOsArchive: true
1460+
fail-on-cache-miss: true
14571461

14581462
- name: Configure safe directory
14591463
run: |

0 commit comments

Comments
 (0)