mirror of
https://gitea.com/actions/cache.git
synced 2025-11-11 03:16:25 +08:00
Compare commits
28 Commits
dependabot
...
44a7049ada
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
44a7049ada | ||
|
|
2a844a33e9 | ||
|
|
fac953994b | ||
|
|
a98b273275 | ||
|
|
8d4d93acb2 | ||
|
|
fbd9b78e14 | ||
|
|
6849a64899 | ||
|
|
5a1720c49e | ||
|
|
d9fef48d24 | ||
|
|
a50e8d027b | ||
|
|
acc9ae5c14 | ||
|
|
1ea5f18c31 | ||
|
|
cc679ff3ba | ||
|
|
6f6220be5a | ||
|
|
255c8ff306 | ||
|
|
aa55e5f344 | ||
|
|
03bcea1bac | ||
|
|
0075a7b15e | ||
|
|
cf539bd9ee | ||
|
|
0968f23612 | ||
|
|
d1f6bed957 | ||
|
|
7cd4aa68d3 | ||
|
|
f6dab89c74 | ||
|
|
0769f2e443 | ||
|
|
515d10b4fd | ||
|
|
669e7536d9 | ||
|
|
29dbbce762 | ||
|
|
ea5981db97 |
2
.github/workflows/workflow.yml
vendored
2
.github/workflows/workflow.yml
vendored
@@ -22,7 +22,7 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Setup Node.js 20.x
|
||||
uses: actions/setup-node@v3
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20.x
|
||||
cache: npm
|
||||
|
||||
@@ -1,9 +1,16 @@
|
||||
# Releases
|
||||
|
||||
### 4.1.2
|
||||
|
||||
- Add GitHub Enterprise Cloud instances hostname filters to inform API endpoint choices - [#1474](https://github.com/actions/cache/pull/1474)
|
||||
- Security fix: Bump braces from 3.0.2 to 3.0.3 - [#1475](https://github.com/actions/cache/pull/1475)
|
||||
|
||||
### 4.1.1
|
||||
|
||||
- Restore original behavior of `cache-hit` output - [#1467](https://github.com/actions/cache/pull/1467)
|
||||
|
||||
### 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)
|
||||
|
||||
|
||||
53642
dist/restore-only/index.js
vendored
53642
dist/restore-only/index.js
vendored
File diff suppressed because one or more lines are too long
53642
dist/restore/index.js
vendored
53642
dist/restore/index.js
vendored
File diff suppressed because one or more lines are too long
53642
dist/save-only/index.js
vendored
53642
dist/save-only/index.js
vendored
File diff suppressed because one or more lines are too long
53642
dist/save/index.js
vendored
53642
dist/save/index.js
vendored
File diff suppressed because one or more lines are too long
966
package-lock.json
generated
966
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "cache",
|
||||
"version": "4.1.1",
|
||||
"version": "4.1.2",
|
||||
"private": true,
|
||||
"description": "Cache dependencies and build outputs",
|
||||
"main": "dist/restore/index.js",
|
||||
@@ -23,7 +23,7 @@
|
||||
"author": "GitHub",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@actions/cache": "^3.2.3",
|
||||
"@actions/cache": "file:/workspaces/toolkit/packages/cache",
|
||||
"@actions/core": "^1.10.0",
|
||||
"@actions/exec": "^1.1.1",
|
||||
"@actions/io": "^1.1.2"
|
||||
@@ -48,4 +48,4 @@
|
||||
"ts-jest": "^28.0.8",
|
||||
"typescript": "^4.9.3"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -22,8 +22,7 @@ export async function restoreImpl(
|
||||
// Validate inputs, this can cause task failure
|
||||
if (!utils.isValidEvent()) {
|
||||
utils.logWarning(
|
||||
`Event Validation Error: The event type ${
|
||||
process.env[Events.Key]
|
||||
`Event Validation Error: The event type ${process.env[Events.Key]
|
||||
} is not supported because it's not tied to a branch or tag ref.`
|
||||
);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user