- Symptom
- Error: This request has been automatically failed because it uses a deprecated version of `actions/cache: v4.0.2`.The same error for v1 and v2 tags or SHAs older than v4.2.0 or v3.4.0Self hosted runners fail to save or restore caches after the service change
- Cause
- GitHub moved to a new cache service on February 1, 2025 and sunset the legacy one, so older action versions stopped working. Self hosted runners also need runner 2.231.0 or newer.
- Fix
- Use actions/cache v4 (or a SHA at v4.2.0 or later) and update self hosted runners.
- Apply
- uses: actions/cache@v4- Affected
- actions/cache below v4.2.0 or v3.4.0, and self hosted runners below 2.231.0, since 2025-02-01
- Sources
Last verified 2026-10-15 · Confirmed by 0 builders