Skip to content

ci(release): make rust-cache restore-only#17

Merged
Soulhackzlol merged 1 commit into
mainfrom
ci/release-cache-restore-only
Jun 7, 2026
Merged

ci(release): make rust-cache restore-only#17
Soulhackzlol merged 1 commit into
mainfrom
ci/release-cache-restore-only

Conversation

@Soulhackzlol

Copy link
Copy Markdown
Owner

The v0.1.5 release published successfully, but the build job showed a red X: the Swatinem/rust-cache@v2 cache-save post-step (tar of a large release target/) failed on the Windows runner after the release was already created and assets uploaded.

Fix: set save-if: false on both rust-cache steps in release.yml. The release workflow runs only on tags, so populating the cache buys nothing; restore-only avoids the flaky save step and keeps future release runs green.

No effect on the release artifacts or the build/test gates - only the post-job cache housekeeping is skipped.

The cache-save post-step (tar of a large release target/) is flaky on
Windows runners and red-X'd the release job after the release had already
published. Release builds run on tags, so populating the cache buys
nothing; restore-only keeps future release runs green.
@Soulhackzlol
Soulhackzlol merged commit 7cef09d into main Jun 7, 2026
4 checks passed
@Soulhackzlol
Soulhackzlol deleted the ci/release-cache-restore-only branch June 7, 2026 17:09
@Soulhackzlol Soulhackzlol added the bug Something isn't working label Jun 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant