mirror of
https://code.forgejo.org/actions/cache.git
synced 2024-12-25 02:01:48 +01:00
Cache service v2
This commit is contained in:
parent
40c3b67b29
commit
f6dab89c74
7 changed files with 379820 additions and 29677 deletions
102218
dist/restore-only/index.js
vendored
102218
dist/restore-only/index.js
vendored
File diff suppressed because one or more lines are too long
102218
dist/restore/index.js
vendored
102218
dist/restore/index.js
vendored
File diff suppressed because one or more lines are too long
102218
dist/save-only/index.js
vendored
102218
dist/save-only/index.js
vendored
File diff suppressed because one or more lines are too long
102218
dist/save/index.js
vendored
102218
dist/save/index.js
vendored
File diff suppressed because one or more lines are too long
930
package-lock.json
generated
930
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -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"
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue