Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions packages/cache/RELEASES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# @actions/cache Releases

## 6.3.0

- Isolate Windows BSD tar read scratch files per operation and make cleanup best-effort, preventing concurrent cache restores from racing over shared temporary archives ([#2497](https://github.com/actions/toolkit/pull/2497)).
- Update compatible runtime and development dependencies, refresh transitive dependencies, and resolve npm audit findings.

## 6.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).
Expand All @@ -24,6 +29,20 @@
- **Breaking change**: Package is now ESM-only
- 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

- 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).
- Honor the `ACTIONS_CACHE_MODE` environment variable: skip restore when the effective cache-mode does not permit reads (`none`, `write-only`) and skip save when it does not permit writes (`none`, `read`), logging a single non-fatal `core.info` line. When `ACTIONS_CACHE_MODE` is unset or unrecognized, behavior is unchanged.

## 5.1.0

- Handle cache write error due to read-only token: detect the `cache write denied:` prefix on cache reservation failures and surface it as a `core.warning` (without failing the run).

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- Handle cache write error due to read-only token: detect the `cache write denied:` prefix on cache reservation failures and surface it as a `core.warning` (without failing the run).
- Handle cache write error due to read-only token: detect the `cache write denied:` prefix on cache reservation failures and surface it as a `core.warning` (without failing the run).- # [ ] []- [ ] ()
```GitHub Copilot Chat Assistant: Here’s a simple Google Cloud SDK setup and update workflow.
1. Install the Google Cloud SDK
- Download from:
https://cloud.google.com/sdk/docs/install
- Follow the OS-specific instructions:
- macOS
- Windows
- Linux
2. Initialize the SDK
After install, run:
- gcloud init
This will:
- log in to your Google account
- select or create a Google Cloud project
- set the default configuration
You can also set project explicitly:
- gcloud config set project YOUR_PROJECT_ID
3. Verify installation
- gcloud version
- gcloud components list
4. Update the SDK
To update everything:
- gcloud components update
This updates:
- gcloud itself
- installed components
- toolchains and add-ons
5. Install optional components
Examples:
- gcloud components install beta
- gcloud components install alpha
- gcloud components install kubectl
- gcloud components install docker-credential-gcr
6. Check component status
- gcloud components list
- gcloud components list --format=table
7. Set default account and project
- gcloud auth login
- gcloud config set project YOUR_PROJECT_ID
- gcloud config list
8. Common troubleshooting
- Reinstall if commands are not recognized:
- which gcloud
- gcloud version
- If PATH is missing, add the SDK bin directory to your shell profile.
- If the component manager fails, try:
- gcloud components repair
9. Recommended recurring workflow
Use this after new machine setup or regular maintenance:
- gcloud auth login
- gcloud config set project YOUR_PROJECT_ID
- gcloud components update
- gcloud components install beta
- gcloud version
10. Example full workflow
- gcloud init
- gcloud config set project my-project-12345
- gcloud components update
- gcloud components install kubectl
- gcloud auth list
- gcloud projects list
If you want, I can also give you:
- a macOS/Linux setup script
- a Windows PowerShell setup script
- a checklist for first-time Google Cloud project setup


## 5.0.5

- Bump `@actions/glob` to `0.5.1`
Expand Down
146 changes: 83 additions & 63 deletions packages/cache/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions packages/cache/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@actions/cache",
"version": "6.2.0",
"version": "6.3.0",
"description": "Actions cache lib",
"keywords": [
"github",
Expand Down Expand Up @@ -45,18 +45,18 @@
"dependencies": {
"@actions/core": "^3.0.1",
"@actions/exec": "^3.0.0",
"@actions/glob": "^0.6.1",
"@actions/glob": "^0.7.0",
"@actions/http-client": "^4.0.1",
"@actions/io": "^3.0.2",
"@azure/core-rest-pipeline": "^1.23.0",
"@azure/storage-blob": "^12.31.0",
"@azure/core-rest-pipeline": "~1.23.0",
"@azure/storage-blob": "~12.31.0",
"@protobuf-ts/runtime-rpc": "^2.11.1",
"semver": "^7.7.4"
"semver": "^7.8.5"
},
"devDependencies": {
"@protobuf-ts/plugin": "^2.11.1",
"@types/node": "^25.6.0",
"@types/semver": "^7.7.1",
"@types/node": "^25.9.8",
"@types/semver": "^7.8.0",
"typescript": "^5.9.3"
},
"overrides": {
Expand Down
Loading