Commit 9b9d65c
chore(ci): Bump actions/cache to v5 and actions/download-artifact to v7 (#20249)
## Summary
- Upgrade `actions/cache/restore` and `actions/cache/save` from v4 to v5
in `install-playwright` and `restore-cache` composite actions
- Upgrade `actions/download-artifact` from v4 to **v7** in
`restore-cache` composite action (v5 still ran on Node 20; v7 runs on
Node 24 and matches `actions/upload-artifact@v7` elsewhere)
- This should fix warnings about Node 20 runner usage in CI
## Changelog
### `actions/cache` v4 → v5
- Only change is upgrading the Node.js runtime from 20 to 24
- No input/output parameter changes
- No behavioral differences
- Requires Actions Runner ≥ 2.327.1 (already satisfied by GitHub-hosted
runners)
### `actions/download-artifact` v4 → v7
- **v7** updates the action runtime to Node.js 24 (`runs.using:
node24`); v5 remained on Node 20, so it did not clear deprecation
warnings for this step
- Requires Actions Runner ≥ 2.327.1 (same as cache v5; satisfied by
GitHub-hosted runners)
- We download artifacts **by name** only; v5’s breaking changes around
downloads **by ID** do not apply
- Aligns with `actions/upload-artifact@v7` already used in workflows
## Affected files
- `.github/actions/install-playwright/action.yml` — `cache/restore@v4` →
`v5`, `cache/save@v4` → `v5`
- `.github/actions/restore-cache/action.yml` — `cache/restore@v4` →
`v5`, `download-artifact@v4` → `v7`
## Test plan
- CI workflows pass (cache restore/save and artifact download work as
before)
- No changes to action inputs/outputs for our usage, so downstream step
references remain valid
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 40a5b93 commit 9b9d65c
File tree
2 files changed
+4
-4
lines changed- .github/actions
- install-playwright
- restore-cache
2 files changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
0 commit comments