From 8823b261b4d2b5a73d6026bca9518ab8fc6e2965 Mon Sep 17 00:00:00 2001 From: Mike Date: Tue, 28 Jul 2026 19:18:32 -0500 Subject: [PATCH] ci: stop persisting dev build artifacts build.yml uploaded a compiled binary on every push and PR across a 3-OS matrix with no retention-days, so each fell back to the repo default of 90 days. That accumulated ~2.4GB of live artifacts and hit the org's 500MB Actions storage cap, blocking new uploads org-wide. The build job still compiles on all three platforms, so the matrix keeps its signal; it just stops keeping the output. Release binaries are unaffected -- release-please builds its own and attaches them to the GitHub Release. Also pin the release binary handoff to retention-days: 1. It only needs to survive between jobs in the same run. Co-Authored-By: Claude Opus 5 (1M context) --- .github/workflows/build.yml | 8 -------- .github/workflows/release-please.yml | 2 ++ 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bc6a5f4..89b98b8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -50,11 +50,3 @@ jobs: env: CGO_ENABLED: "1" run: go build -v -o engram${{ matrix.os == 'windows-latest' && '.exe' || '' }} ./cmd/engram/main.go - - - name: Upload artifact - uses: actions/upload-artifact@v7 - with: - name: engram-${{ matrix.os }} - path: | - engram - engram.exe diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 8e0a574..122df0c 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -76,6 +76,8 @@ jobs: with: name: ${{ matrix.artifact }} path: ${{ matrix.artifact }} + # Job-to-job handoff only; release assets live on the GitHub Release. + retention-days: 1 upload-release-assets: needs: [release-please, build-and-upload]