Add a new section "Main functionalities" to describe the main functionalities provided by the `cache` action.
* **README.md**:
- Add a new section "Main functionalities" to describe the main functionalities provided by the `cache` action.
- Include details about caching dependencies and build outputs, restoring cache, saving cache, cross-OS caching, failing on cache miss, and lookup-only mode.
* **action.yml**:
- Add a new section "main functionalities" to describe the main functionalities provided by the `cache` action.
- Include details about caching dependencies and build outputs, restoring cache, saving cache, cross-OS caching, failing on cache miss, and lookup-only mode.
---
For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/actions/cache?shareId=XXXX-XXXX-XXXX-XXXX).
The `save-always` input added in v4 is not
working as intended due to
`post-if` expressions not supporting the input
context.
To avoid breaking users who have already added
this input to their workflows, it is being
deprecated now and will be removed
in the next major version (v5).
See https://github.com/actions/cache/issues/1315 for more details.
This workflow file publishes new action releases to the immutable action package of the same name as this repo.
This is part of the Immutable Actions project which is not yet fully released to the public. First party actions like this one are part of our initial testing of this feature.
* Fix Description for restore-keys at Readme
As previously the restore-keys were defined as an ordered lists which is
wrong as per the issue description where the actual format is a
multi-line string with one key per line.
* Added a space between the sentence of restore-keys description
While at the PR review it's been identified there's a need for a space
between the sentence
```
An ordered multiline string listing the prefix-matched keys,that are
used for restoring stale cache if no cache hit occurred for key.
```
where it's written as "prefix-matched keys,that are" this commit will
address the review comment and introduce a space between
"prefix-matched keys, that are" and change the sentence to
```
An ordered multiline string listing the prefix-matched keys, that are
used for restoring stale cache if no cache hit occurred for key.
```
* Change restore-keys description at cache/restore/action.yml and cache/action.yml