Compare commits

...

2 Commits

Author SHA1 Message Date
Bassem Dghaidi
7cd4aa68d3 Merge branch 'main' into neo-cache-service 2024-10-09 07:47:18 -07:00
Bassem Dghaidi
f6dab89c74 Cache service v2 2024-09-24 03:44:34 -07:00
7 changed files with 379820 additions and 29677 deletions

102140
dist/restore-only/index.js vendored

File diff suppressed because one or more lines are too long

102140
dist/restore/index.js vendored

File diff suppressed because one or more lines are too long

102140
dist/save-only/index.js vendored

File diff suppressed because one or more lines are too long

102140
dist/save/index.js vendored

File diff suppressed because one or more lines are too long

930
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -23,7 +23,7 @@
"author": "GitHub", "author": "GitHub",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@actions/cache": "^3.2.3", "@actions/cache": "file:/workspaces/toolkit/packages/cache",
"@actions/core": "^1.10.0", "@actions/core": "^1.10.0",
"@actions/exec": "^1.1.1", "@actions/exec": "^1.1.1",
"@actions/io": "^1.1.2" "@actions/io": "^1.1.2"
@@ -48,4 +48,4 @@
"ts-jest": "^28.0.8", "ts-jest": "^28.0.8",
"typescript": "^4.9.3" "typescript": "^4.9.3"
} }
} }

View File

@@ -22,8 +22,7 @@ export async function restoreImpl(
// Validate inputs, this can cause task failure // Validate inputs, this can cause task failure
if (!utils.isValidEvent()) { if (!utils.isValidEvent()) {
utils.logWarning( utils.logWarning(
`Event Validation Error: The event type ${ `Event Validation Error: The event type ${process.env[Events.Key]
process.env[Events.Key]
} is not supported because it's not tied to a branch or tag ref.` } is not supported because it's not tied to a branch or tag ref.`
); );
return; return;