From 3e72a6ebe141e2d806ccb28d2696f2680fd84c32 Mon Sep 17 00:00:00 2001 From: Danny Gleckler Date: Fri, 9 Feb 2024 11:17:15 -0500 Subject: [PATCH] Add save-always to README --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index d1d2aef..f5ae8ee 100644 --- a/README.md +++ b/README.md @@ -58,6 +58,7 @@ If you are using a `self-hosted` Windows runner, `GNU tar` and `zstd` are requir * `enableCrossOsArchive` - An optional boolean when enabled, allows Windows runners to save or restore caches that can be restored or saved respectively on other platforms. Default: `false` * `fail-on-cache-miss` - Fail the workflow if cache entry is not found. Default: `false` * `lookup-only` - If true, only checks if cache entry exists and skips download. Does not change save cache behavior. Default: `false` +* `save-always` - If true, always saves the cache, even if the job fails. Requires a [step `id`](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsid). Default: `false` #### Environment Variables