Compare commits

...

28 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
6849a64899 Release 4.1.2 #1477
Prepare `4.1.2` release
2024-10-22 14:33:17 +02:00
Bassem Dghaidi
5a1720c49e Merge branch 'Link-/prep-4.1.2' of https://github.com/actions/cache into Link-/prep-4.1.2 2024-10-22 04:25:33 -07:00
Bassem Dghaidi
d9fef48d24 Merge branch 'main' into Link-/prep-4.1.2 2024-10-22 13:25:20 +02:00
Bassem Dghaidi
a50e8d027b Merge branch 'main' into Link-/prep-4.1.2 2024-10-22 04:24:43 -07:00
Bassem Dghaidi
acc9ae5c14 Merge pull request #1481 from actions/dependabot/github_actions/actions/setup-node-4
Bump actions/setup-node from 3 to 4
2024-10-22 13:19:36 +02:00
Bassem Dghaidi
1ea5f18c31 Merge branch 'main' into Link-/prep-4.1.2 2024-10-22 13:17:46 +02:00
Bassem Dghaidi
cc679ff3ba Merge branch 'main' into dependabot/github_actions/actions/setup-node-4 2024-10-22 13:16:44 +02:00
Bassem Dghaidi
6f6220be5a Merge branch 'main' into dependabot/github_actions/actions/setup-node-4 2024-10-22 13:14:22 +02:00
dependabot[bot]
255c8ff306 Bump actions/setup-node from 3 to 4
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3 to 4.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-22 11:12:37 +00:00
Bassem Dghaidi
aa55e5f344 Prepare release 4.1.2 2024-10-22 03:54:14 -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
9 changed files with 185197 additions and 30355 deletions

View File

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

View File

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

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

966
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

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

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;