Set explicit retention policy for Linux release artifact uploads#7
Merged
Merged
Conversation
Agent-Logs-Url: https://github.com/simonpainter/uping/sessions/a20e9191-0f41-48d8-ace7-76d616d5a9fc Co-authored-by: simonpainter <409737+simonpainter@users.noreply.github.com>
Agent-Logs-Url: https://github.com/simonpainter/uping/sessions/a20e9191-0f41-48d8-ace7-76d616d5a9fc Co-authored-by: simonpainter <409737+simonpainter@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Set explicit artifact retention days in release.yml
Set explicit retention policy for Linux release artifact uploads
May 9, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR makes artifact lifecycle explicit in the release workflow by setting a 1-day retention period for the Linux build artifact upload, reducing storage usage from frequent pushes to main.
Changes:
- Set
retention-days: 1on the Linuxactions/upload-artifact@v4step in the release workflow.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
simonpainter
approved these changes
May 9, 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.
Release workflow artifacts were using default retention, which can unnecessarily increase storage usage with frequent pushes to
main. This update makes artifact lifecycle explicit for the Linux build artifact.Workflow policy update (
.github/workflows/release.yml)actions/upload-artifact@v4step:retention-days: 1Resulting artifact configuration