Skip to content

fix: compute cache keys in dedicated step to ensure they are always available#133

Merged
rostislav-simonik merged 1 commit intomainfrom
esl/fix-cache-keys
Mar 16, 2026
Merged

fix: compute cache keys in dedicated step to ensure they are always available#133
rostislav-simonik merged 1 commit intomainfrom
esl/fix-cache-keys

Conversation

@erik-slovak
Copy link
Member

Cache key outputs previously referenced actions/cache/restore step outputs, which are empty when use-cache is false (steps are skipped). Compute keys in an unconditional step so save-dependencies always receives valid cache keys.

…vailable

Cache key outputs previously referenced `actions/cache/restore` step
outputs, which are empty when `use-cache` is false (steps are skipped).
Compute keys in an unconditional step so save-dependencies always
receives valid cache keys.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@rostislav-simonik rostislav-simonik merged commit 696ee6d into main Mar 16, 2026
1 check passed
@rostislav-simonik rostislav-simonik deleted the esl/fix-cache-keys branch March 16, 2026 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants