Compare commits

..
10 Commits
Author SHA1 Message Date
dependabot[bot] 3543b26e4d chore(deps): bump the cache-minor-patch group across 1 directory with 2 updates
Bumps the cache-minor-patch group with 2 updates in the /packages/cache directory: [@azure/core-rest-pipeline](https://github.com/Azure/azure-sdk-for-js/tree/HEAD/sdk/core/core-rest-pipeline) and [@azure/storage-blob](https://github.com/Azure/azure-sdk-for-js/tree/HEAD/sdk/storage/storage-blob).


Updates `@azure/core-rest-pipeline` from 1.23.0 to 1.25.0
- [Release notes](https://github.com/Azure/azure-sdk-for-js/releases)
- [Changelog](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-rest-pipeline/CHANGELOG.md)
- [Commits](https://github.com/Azure/azure-sdk-for-js/commits/@azure/core-rest-pipeline_1.25.0/sdk/core/core-rest-pipeline)

Updates `@azure/storage-blob` from 12.31.0 to 12.34.0
- [Release notes](https://github.com/Azure/azure-sdk-for-js/releases)
- [Changelog](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/storage-blob/CHANGELOG.md)
- [Commits](https://github.com/Azure/azure-sdk-for-js/commits/@azure/storage-blob_12.34.0/sdk/storage/storage-blob)

---
updated-dependencies:
- dependency-name: "@azure/core-rest-pipeline"
  dependency-version: 1.25.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cache-minor-patch
- dependency-name: "@azure/storage-blob"
  dependency-version: 12.34.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cache-minor-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-30 18:34:02 +00:00
Bassem Dghaidi 8d7a442e42 Merge pull request #2502 from actions/cache-release-guide
Document @actions/cache release process
2026-09-28 13:15:48 +02:00
Bassem DghaidiandCopilot 1d5a9db258 Document @actions/cache release process
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-09-28 13:04:42 +02:00
Bassem Dghaidi b2f21e13f9 Merge pull request #2500 from actions/cache-v6.3.0-release
Cache v6.3.0 release
2026-09-28 12:21:00 +02:00
Bassem DghaidiandCopilot fb50c36db8 Keep cache Azure dependencies compatible with Node 20
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-09-25 18:28:41 +02:00
Bassem DghaidiandCopilot 312c7d23c2 Keep cache Azure dependencies compatible with Node 20
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-09-25 18:27:08 +02:00
Bassem DghaidiandCopilot f8b8b7e5a5 Keep cache Azure dependencies compatible with Node 20
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-09-25 18:25:40 +02:00
Bassem DghaidiandCopilot 5472e0e5c8 Keep cache Azure dependencies compatible with Node 20
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-09-25 18:23:48 +02:00
Bassem DghaidiandCopilot 56decd0766 Add @actions/cache 5.3.0 release notes
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-09-25 18:10:50 +02:00
Bassem DghaidiandCopilot f6fee859a4 Add @actions/cache 5.3.0 release notes
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-09-25 18:09:51 +02:00
4 changed files with 76 additions and 4 deletions

No files matched your search

+67
View File
@@ -0,0 +1,67 @@
# Contributing to `@actions/cache`
## Releasing the package
The cache package has two actively maintained, incompatible release lines:
- **v6** is ESM-only and is the default release line. v6 releases are cut from
`main`.
- **v5** uses CommonJS and is maintained on a separate v5 release branch. Only
backport changes that remain compatible with CommonJS and the v5 support
requirements.
Before publishing either release line:
1. Make sure the intended changes and tests are present on the release branch.
2. Update the version in `package.json` and `package-lock.json`.
3. Add the release notes to [`RELEASES.md`](./RELEASES.md).
4. Make sure the release branch's required checks pass.
See [#2500](https://github.com/actions/toolkit/pull/2500) for a reference pull
request that prepares a cache release, updates dependencies and package
metadata, and records the release notes.
### Publish workflow
Publish releases with the
[`Publish NPM` workflow](../../.github/workflows/releases.yml). For more
information about how the repository publishes packages, see the
[repository release documentation](../../docs/release.md).
The workflow installs dependencies, bootstraps and builds the repository,
runs tests, packs `@actions/cache`, and publishes the resulting package to
npm with provenance. When manually running the workflow, choose the inputs
for the release line:
| Input | v6 release | v5 release |
| --- | --- | --- |
| `package` | `cache` | `cache` |
| `branch` | `main` | The v5 release branch containing the release |
| `npm-tag` | `latest` | `v5-commonjs` |
| `test-all` | See [Test selection](#test-selection) | See [Test selection](#test-selection) |
The npm tag is important because it determines which package line consumers
install:
- Always publish v6 with the `latest` tag.
- Always publish v5 with the `v5-commonjs` tag. Never publish a v5 release
with `latest`.
Do not use a semantic version such as `5.3.0` as an npm tag. npm dist-tags
must not be valid semantic versions.
### Test selection
The `test-all` input controls the scope of the workflow's test step:
- Leave `test-all` set to `false` to run only the cache package's Jest tests.
- Set `test-all` to `true` to run the entire repository test suite.
The workflow builds all packages in either case. Use the full test suite when
the release includes changes that affect shared packages or when broader
repository validation is needed.
### Verify the release
After the workflow completes, verify the published version and its dist-tag on
the [`@actions/cache` npm page](https://www.npmjs.com/package/@actions/cache).
+5
View File
@@ -29,6 +29,11 @@
- **Breaking change**: Package is now ESM-only - **Breaking change**: Package is now ESM-only
- CommonJS consumers must use dynamic `import()` instead of `require()` - CommonJS consumers must use dynamic `import()` instead of `require()`
## 5.3.0
- Isolate Windows BSD tar scratch files for concurrent cache list and extract operations, preventing calls from sharing `cache.tar` [#2497](https://github.com/actions/toolkit/pull/2497).
- Update compatible runtime and development dependencies and resolve npm audit findings.
## 5.2.0 ## 5.2.0
- Handle cache read error due to read-only token: detect the `cache read denied:` prefix on cache download failures (both the v2 twirp path and the v1 `_apis/artifactcache` path) and surface it as a `core.warning` (without failing the run). - Handle cache read error due to read-only token: detect the `cache read denied:` prefix on cache download failures (both the v2 twirp path and the v1 `_apis/artifactcache` path) and surface it as a `core.warning` (without failing the run).
+2 -2
View File
@@ -14,8 +14,8 @@
"@actions/glob": "^0.7.0", "@actions/glob": "^0.7.0",
"@actions/http-client": "^4.0.1", "@actions/http-client": "^4.0.1",
"@actions/io": "^3.0.2", "@actions/io": "^3.0.2",
"@azure/core-rest-pipeline": "^1.25.0", "@azure/core-rest-pipeline": "~1.25.0",
"@azure/storage-blob": "^12.34.0", "@azure/storage-blob": "~12.34.0",
"@protobuf-ts/runtime-rpc": "^2.11.1", "@protobuf-ts/runtime-rpc": "^2.11.1",
"semver": "^7.8.5" "semver": "^7.8.5"
}, },
+2 -2
View File
@@ -48,8 +48,8 @@
"@actions/glob": "^0.7.0", "@actions/glob": "^0.7.0",
"@actions/http-client": "^4.0.1", "@actions/http-client": "^4.0.1",
"@actions/io": "^3.0.2", "@actions/io": "^3.0.2",
"@azure/core-rest-pipeline": "^1.25.0", "@azure/core-rest-pipeline": "~1.25.0",
"@azure/storage-blob": "^12.34.0", "@azure/storage-blob": "~12.34.0",
"@protobuf-ts/runtime-rpc": "^2.11.1", "@protobuf-ts/runtime-rpc": "^2.11.1",
"semver": "^7.8.5" "semver": "^7.8.5"
}, },