Skip to content

ci: invalidate tarball cache when beaker tags change - #51

Merged
StykMartin merged 1 commit into
beaker-project:masterfrom
StykMartin:ci-cache-fix
May 15, 2026
Merged

StykMartin merged 1 commit into
beaker-project:masterfrom
StykMartin:ci-cache-fix

Conversation

@StykMartin

Copy link
Copy Markdown
Contributor

The cache key was hardcoded to the literal string cache (with an XXX comment noting it). New beaker tags never trigger a refresh, so newly built release tarballs (releases/beaker-X.Y.tar.gz/.xz) are discarded after every run.

Key the cache on a hash of the beaker-* tag list instead, so a new release pushes a fresh cache. Also bump actions/cache v3 → v4.

@StykMartin
StykMartin merged commit 6c55ae0 into beaker-project:master May 15, 2026
2 checks passed
@StykMartin
StykMartin deleted the ci-cache-fix branch May 15, 2026 21:17
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