You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: Persist Turbo's local task cache (.turbo) across CI runs so unchanged workspaces are restored from cache instead of rebuilt. Local filesystem cache only — no remote cache, so TURBO_TOKEN/TURBO_TEAM must stay unset.
4
+
5
+
inputs:
6
+
key-prefix:
7
+
description: Per-workflow (or per-job) prefix so unrelated pipelines do not thrash a shared cache entry.
8
+
required: true
9
+
10
+
runs:
11
+
using: "composite"
12
+
steps:
13
+
- name: Cache Turbo
14
+
uses: actions/cache@v4
15
+
with:
16
+
path: .turbo
17
+
# The github.sha suffix makes every run write a fresh, immutable entry;
18
+
# restore-keys then pulls the most recent prefix match. Without the
19
+
# suffix the first run would freeze the cache forever (actions/cache
20
+
# never overwrites an existing key), so Turbo's incremental hits would
0 commit comments