From 4696a5921ae524334595c59046748dc3721e89fd Mon Sep 17 00:00:00 2001 From: kkdev92 <112151103+kkdev92@users.noreply.github.com> Date: Mon, 21 Sep 2026 14:59:06 +0900 Subject: [PATCH] ci: give the package artifact a retention period The `nupkg` upload in `ci.yml` never set `retention-days`, so it fell back to this repository's default artifact retention of 90 days. Every run builds a fresh set of packages and no workflow reads an older one, so they were counting against the artifact storage allowance for three months to no purpose. The `coverage` upload earlier in the same workflow already uses 14 days. Reuse that value rather than introducing a second number. `release.yml` is left alone. It uploads and downloads an artifact that is also named `nupkg`, which is a separate artifact scoped to its own run: those steps pass only a name and a path, so each resolves within the run that is executing. How long CI keeps its own copy is a separate question from how a release is handled. Co-Authored-By: Claude Opus 5 (1M context) --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9176601..1f092ca 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -242,6 +242,7 @@ jobs: name: nupkg path: artifacts/*.nupkg if-no-files-found: error + retention-days: 14 aot-smoke: name: native aot smoke (${{ matrix.os }})