Compare commits

..

1 Commits

Author SHA1 Message Date
Marcus Boerger
21c0f97e93
Merge 40b3745dc1 into 5a3ec84eff 2025-04-25 15:45:29 +02:00
2 changed files with 2 additions and 2 deletions

View File

@ -76,7 +76,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` * `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` * `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` * `lookup-only` - If true, only checks if cache entry exists and skips download. Does not change save cache behavior. Default: `false`
* `save-on-success` - If true, then the cache is written in the post action on success, or (if false) the cache will only be restored if available. Default: `true` * `save-on-success` - If true, then the cache is written in the post action on success, or (if false) the cache will only be restored if available.
#### Environment Variables #### Environment Variables

View File

@ -36,7 +36,7 @@ inputs:
required: false required: false
deprecationMessage: | deprecationMessage: |
save-always does not work as intended and will be removed in a future release. save-always does not work as intended and will be removed in a future release.
If you only want to control whether a new cache will be written use `save-on-success` instead. If you only want to control whether a new cache will be written use `save-always` instead.
Otherwise a separate `actions/cache/restore` step should be used instead. Otherwise a separate `actions/cache/restore` step should be used instead.
See https://github.com/actions/cache/tree/main/save#always-save-cache for more details. See https://github.com/actions/cache/tree/main/save#always-save-cache for more details.
outputs: outputs: