fix(ci): add retention policy to release build artifacts (#585)

The upload-artifact step in the release workflow had no retention-days
set, causing intermediate build artifacts to persist at the repository
default of 90 days and consuming storage unnecessarily.

Add retention-days: 7 since these are intermediate artifacts consumed
by the publish job in the same workflow run — they do not need
long-term retention.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Alex Gorevski 2026-02-17 10:30:34 -08:00 committed by GitHub
parent cba596e31a
commit 31fa4f1197
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -71,6 +71,7 @@ jobs:
with: with:
name: zeroclaw-${{ matrix.target }} name: zeroclaw-${{ matrix.target }}
path: zeroclaw-${{ matrix.target }}.* path: zeroclaw-${{ matrix.target }}.*
retention-days: 7
publish: publish:
name: Publish Release name: Publish Release