Skip to content

Conversation

@hwellmann
Copy link

Description

When the cache is restored from the primary key, it gets saved at the end of the workflow.

This is not expected. There is no need to update the cache.

The cause is that the GCS path gets mixed up with the cache key, so that the cache-hit output is never set to true.

How Has This Been Tested?

Added jest tests that do not mock gcsCache.ts.
Ran this modified action in production and verified that the cache no longer get saved after a hit.

@hwellmann hwellmann requested a review from danySam as a code owner February 12, 2026 15:52
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.

1 participant