Skip to content

Set explicit retention policy for Linux release artifact uploads#7

Merged
simonpainter merged 4 commits into
mainfrom
copilot/set-explicit-artifact-retention
May 9, 2026
Merged

Set explicit retention policy for Linux release artifact uploads#7
simonpainter merged 4 commits into
mainfrom
copilot/set-explicit-artifact-retention

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 9, 2026

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)

    • Added an explicit retention window to the Linux actions/upload-artifact@v4 step:
      • retention-days: 1
    • Leaves all other release workflow behavior unchanged.
  • Resulting artifact configuration

    - name: Upload artifact
      uses: actions/upload-artifact@v4
      with:
        name: uping-linux
        path: uping
        retention-days: 1

Copilot AI and others added 2 commits May 9, 2026 18:52
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
Copilot AI requested a review from simonpainter May 9, 2026 18:53
@simonpainter simonpainter requested a review from Copilot May 9, 2026 18:59
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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: 1 on the Linux actions/upload-artifact@v4 step in the release workflow.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@simonpainter simonpainter marked this pull request as ready for review May 9, 2026 19:03
@simonpainter simonpainter merged commit c18f7b7 into main May 9, 2026
2 checks passed
@simonpainter simonpainter deleted the copilot/set-explicit-artifact-retention branch May 10, 2026 09:31
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.

release.yml: set explicit artifact retention-days (linux)

3 participants