Skip to content

ci: switch to mozilla-actions/sccache-action#1622

Merged
jpnurmi merged 1 commit intomasterfrom
jpnurmi/ci/sccache-action
Apr 2, 2026
Merged

ci: switch to mozilla-actions/sccache-action#1622
jpnurmi merged 1 commit intomasterfrom
jpnurmi/ci/sccache-action

Conversation

@jpnurmi
Copy link
Copy Markdown
Collaborator

@jpnurmi jpnurmi commented Apr 2, 2026

Switch from manual actions/cache + choco install sccache to mozilla-actions/sccache-action which handles installation and cache management automatically. The manual actions/cache approach is apparently not updating the cache after the first run, so cache hits are degrading over time... 🤦‍♂️

Post Cache sccache 1s
Post job cleanup.
Cache hit occurred on the primary key sccache-Windows-X64, not saving cache.

https://github.com/getsentry/sentry-native/actions/runs/23891110298/job/69664453969

@jpnurmi jpnurmi force-pushed the jpnurmi/ci/sccache-action branch from bc6b5df to bb934d4 Compare April 2, 2026 11:22
Replace manual sccache install + actions/cache restore/save with
mozilla-actions/sccache-action which handles installation, cache
management, and updates automatically.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@jpnurmi jpnurmi force-pushed the jpnurmi/ci/sccache-action branch from bb934d4 to 62e0510 Compare April 2, 2026 13:08
@jpnurmi jpnurmi marked this pull request as ready for review April 2, 2026 14:06
@jpnurmi jpnurmi merged commit 8d2bd46 into master Apr 2, 2026
54 checks passed
@jpnurmi jpnurmi deleted the jpnurmi/ci/sccache-action branch April 2, 2026 15:15
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