Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

ci(verify): keep the build cache when tests fail

Richie McIlroyd71c240a7167
diff --git a/.github/actions/engine-verify-setup/action.yml b/.github/actions/engine-verify-setup/action.yml
index 7f86f2452..78857c76d 100644
--- a/.github/actions/engine-verify-setup/action.yml
+++ b/.github/actions/engine-verify-setup/action.yml
@@ -55,6 +55,8 @@ runs:
shared-key: ${{ inputs.target }}
cache-bin: "false"
cache-workspace-crates: "true"
+ # Save the dependency build even when a test fails.
+ cache-on-failure: "true"
save-if: ${{ inputs.save-cache }}
# Unchanged workspace crates are reused from the cache instead of being