This commit is contained in:
Bassem Dghaidi 2024-10-24 14:44:15 +02:00 committed by GitHub
commit 762bd9b479
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 185185 additions and 30350 deletions

File diff suppressed because one or more lines are too long

53642
dist/restore/index.js vendored

File diff suppressed because one or more lines are too long

53642
dist/save-only/index.js vendored

File diff suppressed because one or more lines are too long

53642
dist/save/index.js vendored

File diff suppressed because one or more lines are too long

962
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -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"

View File

@ -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;