Skip to content

Commit 8189ae8

Browse files
authored
bazel flow: force cache regeneration (KhronosGroup#6742)
Use a new cache key to force the cache to be regenerated. Fixes: KhronosGroup#6741
1 parent aff64c5 commit 8189ae8

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/bazel.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ jobs:
2929
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
3030
with:
3131
path: ~/.bazel/cache
32-
key: bazel-cache-${{ runner.os }}
32+
# Force a new cache version by updating the number in 'generationN'
33+
key: bazel-cache-${{ runner.os }}-generation2
3334
- name: Build All
3435
run: bazel --output_user_root=~/.bazel/cache build //...
3536
- name: Test All

0 commit comments

Comments
 (0)