Shorten Actions packaging retention so caches stop blocking the next release - #23
Merged
Merged
Conversation
Expose the four packaging-pipeline retention inputs on workflow_dispatch, reclaim Actions cache/artifact quota before create-release, and keep GitHub Release installer assets. Co-authored-by: Yukon <baseGame@users.noreply.github.com>
baseGame
marked this pull request as ready for review
August 18, 2026 13:43
This was referenced Aug 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Repo Actions cache is already ~5.5 GB of 10 GB, mostly leftover rustc/cargo snapshots from old PRs and the v1.1.0 tag build. This change reclaims that space before packaging and stops new workflow artifacts from lingering.
.github/workflows/release.ymlnow exposes fourworkflow_dispatchparameters (same 1-day / keep-final defaults onv*tag pushes):tenant_snapshot_retention_days'1'installer_artifact_retention_days'1'initial_evidence_retention_days'1'keep_final_evidencetrueWhat is deleted (Actions storage only):
prune-storagejob runs first (actions: write). Other jobsneedsit.refs/pull/*tenant_snapshot_retention_days(default 1 day)master/main: keep only the newest rust cache per OS+jobWhat is never deleted:
keep_final_evidence: trueis the default and the prune job never calls the Releases APIBuild jobs still restore rust/pnpm caches.
tauri-apps/tauri-actionstill publishes installers only to the GitHub Release (uploadWorkflowArtifactsis left unset / false). Initial release evidence (run URL, platform list, checksums of that metadata) is uploaded withactions/upload-artifactandretention-daysfrominitial_evidence_retention_days.Type of change
Validation
Parsed
.github/workflows/release.ymland syntax-checked the inline Node prune/evidence scriptsDid not run
corepack pnpm quality/corepack pnpm test— this repo does not test workflow YAML, and no application code changedDid not bump the version, retag, or change Windows ssh2 / Intel macOS packaging
corepack pnpm qualitycorepack pnpm testScreenshots or recordings
N/A — workflow YAML only. After merge, Actions → Release → Run workflow shows the four Chinese-labeled inputs.
Checklist