Compare commits

..

4 Commits

Author SHA1 Message Date
Josh Gross
2cdf405574 Prepare 4.1.0 release (#1464) 2024-10-04 17:00:33 -04:00
Eman Resu
a11fb02296 restore action's README now references v4 instead of v3 (#1445)
Co-authored-by: Josh Gross <joshmgross@github.com>
2024-10-03 14:58:28 -04:00
mackey0225
cf7a75e7b9 Fix typo: depening -> depending (#1462)
Co-authored-by: Josh Gross <joshmgross@github.com>
2024-10-03 18:56:27 +00:00
Josh Gross
c74ca4022c Deprecate save-always input (#1452)
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.
2024-10-03 18:37:55 +00:00
4 changed files with 8 additions and 4 deletions

View File

@@ -1,5 +1,9 @@
# Releases
### 4.1.0
- Ensure `cache-hit` output is set when a cache is missed - [#1404](https://github.com/actions/cache/pull/1404)
- Deprecate `save-always` input - [#1452](https://github.com/actions/cache/pull/1452)
### 4.0.2
- Fixed restore `fail-on-cache-miss` not working.

View File

@@ -81,7 +81,7 @@ On similar lines, commit sha can be used to create a very specialized and short
key: cache-${{ github.sha }}
```
### Using multiple factors while forming a key depening on the need
### Using multiple factors while forming a key depending on the need
Cache key can be formed by combination of more than one metadata, evaluated info.

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "cache",
"version": "4.0.2",
"version": "4.1.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "cache",
"version": "4.0.2",
"version": "4.1.0",
"license": "MIT",
"dependencies": {
"@actions/cache": "^3.2.3",

View File

@@ -1,6 +1,6 @@
{
"name": "cache",
"version": "4.0.2",
"version": "4.1.0",
"private": true,
"description": "Cache dependencies and build outputs",
"main": "dist/restore/index.js",