Compare commits

..

18 Commits

Author SHA1 Message Date
Bassem Dghaidi
44a7049ada Refactoring & cleanup 2024-10-24 06:10:42 -07:00
Bassem Dghaidi
2a844a33e9 Merge branch 'neo-cache-service' of https://github.com/actions/cache into neo-cache-service 2024-10-24 05:43:20 -07:00
Bassem Dghaidi
fac953994b Rebuild 2024-10-24 05:43:07 -07:00
Bassem Dghaidi
a98b273275 Merge branch 'main' into neo-cache-service 2024-10-24 14:30:57 +02:00
Bassem Dghaidi
8d4d93acb2 Cleanup and package refactoring 2024-10-24 05:19:56 -07:00
Bassem Dghaidi
fbd9b78e14 Merge branch 'master' into neo-cache-service 2024-10-24 05:18:38 -07:00
Bassem Dghaidi
03bcea1bac Fix order of operations bug in restore cache 2024-10-21 04:21:27 -07:00
Bassem Dghaidi
0075a7b15e Fix order of operations bug in restore cache 2024-10-21 04:17:57 -07:00
Bassem Dghaidi
cf539bd9ee Use DownloadCacheFile for blob downloads 2024-10-21 04:09:43 -07:00
Bassem Dghaidi
0968f23612 Use tarballs instead of zip archives 2024-10-21 03:45:38 -07:00
Bassem Dghaidi
d1f6bed957 Use tarballs instead of zip archives 2024-10-21 03:33:41 -07:00
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
Vipul
0769f2e443 Merge branch 'main' into master 2022-11-28 23:50:15 -08:00
Vipul
515d10b4fd Merge pull request #746 from actions/revert-173-add-stack-example
Revert "Add example for Haskell Stack"
2022-02-22 12:44:25 +05:30
Vipul
669e7536d9 Revert "Add example for Haskell Stack" 2022-02-22 12:17:37 +05:30
Vipul
29dbbce762 Merge pull request #173 from malob/add-stack-example
Add example for Haskell Stack
2022-02-22 12:11:06 +05:30
Malo Bourgon
ea5981db97 Add example for Haskell Stack 2022-02-21 14:59:28 -08:00
7 changed files with 186303 additions and 32402 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

4130
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"
@@ -42,7 +42,7 @@
"eslint-plugin-prettier": "^4.2.1", "eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-simple-import-sort": "^7.0.0", "eslint-plugin-simple-import-sort": "^7.0.0",
"jest": "^28.1.3", "jest": "^28.1.3",
"jest-circus": "^29.7.0", "jest-circus": "^27.5.1",
"nock": "^13.2.9", "nock": "^13.2.9",
"prettier": "^2.8.0", "prettier": "^2.8.0",
"ts-jest": "^28.0.8", "ts-jest": "^28.0.8",

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;