Skip to content

Commit f2ea0f2

Browse files
authored
Updated Readme with what's new and removed v2 info
1 parent d5956bb commit f2ea0f2

File tree

1 file changed

+2
-20
lines changed

1 file changed

+2
-20
lines changed

README.md

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -13,27 +13,9 @@ See ["Caching dependencies to speed up workflows"](https://help.github.com/githu
1313
* Added support for caching from GHES 3.5.
1414
* Fixed download issue for files > 2GB during restore.
1515
* Updated the minimum runner version support from node 12 -> node 16.
16+
* Fixed avoiding empty cache save when no files are available for caching.
1617

17-
### v2
18-
* Increased the cache size limit to 10 GB.
19-
* Added support for multiple paths, [glob patterns](https://github.com/actions/toolkit/tree/main/packages/glob), and single file caches.
20-
21-
```yaml
22-
- name: Cache multiple paths
23-
uses: actions/cache@v3
24-
with:
25-
path: |
26-
~/cache
27-
!~/cache/exclude
28-
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
29-
```
30-
31-
* Increased performance and improved cache sizes using `zstd` compression for Linux and macOS runners
32-
* Allowed caching for all events with a ref. See [events that trigger workflow](https://help.github.com/en/actions/reference/events-that-trigger-workflows) for info on which events do not have a `GITHUB_REF`
33-
* Released the [`@actions/cache`](https://github.com/actions/toolkit/tree/main/packages/cache) npm package to allow other actions to utilize caching
34-
* Added a best-effort cleanup step to delete the archive after extraction to reduce storage space
35-
36-
Refer [here](https://github.com/actions/cache/blob/v1/README.md) for previous versions
18+
Refer [here](https://github.com/actions/cache/blob/v2/README.md) for previous versions
3719

3820
## Usage
3921

0 commit comments

Comments
 (0)