[ci] Stop per-PR cache copies from crowding the 10GB Actions cache quota (#17463)

This commit is contained in:
Jonathan Swoboda
2026-07-08 23:29:23 -04:00
committed by GitHub
parent 9c92ab63fb
commit 435dde67d0
3 changed files with 65 additions and 6 deletions
@@ -35,6 +35,9 @@ runs:
uses: astral-sh/setup-uv@11f9893b081a58869d3b5fccaea48c9e9e46f990 # v8.3.2
with:
enable-cache: true
# Pull request saves land in per-PR scopes nothing else can
# reuse; dev pushes seed the shared copy instead.
save-cache: ${{ github.event_name != 'pull_request' }}
# Pin uv version so the action does not have to fetch the
# manifest from raw.githubusercontent.com on every cache
# miss; that fetch flakes on Windows runners.