chore: CI: cache again on failure (#10137)

This commit is contained in:
Sebastian Ullrich 2025-08-26 16:47:05 +02:00 committed by GitHub
parent 3e11f27ff4
commit 6810d31602
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -175,7 +175,9 @@ jobs:
# Should be done as early as possible and in particular *before* "Check rebootstrap" which
# changes the state of stage1/
- name: Save Cache
if: steps.restore-cache.outputs.cache-hit != 'true'
# Caching on cancellation created some mysterious issues perhaps related to improper build
# shutdown
if: steps.restore-cache.outputs.cache-hit != 'true' && !cancelled()
uses: actions/cache/save@v4
with:
# NOTE: must be in sync with `restore` above