bazel: Always save bazel repository cache (#16926)

This should improve the cache hit ratio for external deps and such
This commit is contained in:
Ruslan Nigmatullin
2026-04-06 12:06:58 -07:00
committed by GitHub
parent 2b4cc221df
commit 0225479f0d

View File

@@ -223,7 +223,7 @@ jobs:
# Save bazel repository cache explicitly; make non-fatal so cache uploading
# never fails the overall job. Only save when key wasn't hit.
- name: Save bazel repository cache
if: always() && !cancelled() && steps.cache_bazel_repository_restore.outputs.cache-hit != 'true'
if: always() && !cancelled()
continue-on-error: true
uses: actions/cache/save@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5
with: