From bd94e24ffb4075b7ee922dd8e5a29736390328a7 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