From 4a86705bd7f951c6c2cf3dd863f3f12521d9e221 Mon Sep 17 00:00:00 2001 From: Mason Daugherty Date: Tue, 12 May 2026 10:10:50 -0700 Subject: [PATCH] ci: disable uv cache in publish pipeline (#7777) Disable `uv` dependency caching throughout the release workflow so build, validation, PyPI publish, and GitHub release jobs do not restore shared cache state. Release jobs already pass the built distributions through explicit artifacts; keeping dependency caches out of this path avoids cache-poisoning risk and makes the existing pre-release validation comment match the actual workflow behavior. --- .github/workflows/release.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9ee96235b..d71f6e270 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,6 +32,7 @@ jobs: with: python-version: ${{ env.PYTHON_VERSION }} cache-suffix: "release" + enable-cache: false working-directory: ${{ inputs.working-directory }} # We want to keep this build stage *separate* from the release stage, @@ -268,6 +269,7 @@ jobs: with: python-version: ${{ env.PYTHON_VERSION }} cache-suffix: "release" + enable-cache: false working-directory: ${{ inputs.working-directory }} - uses: actions/download-artifact@v8 @@ -309,6 +311,7 @@ jobs: with: python-version: ${{ env.PYTHON_VERSION }} cache-suffix: "release" + enable-cache: false working-directory: ${{ inputs.working-directory }} - uses: actions/download-artifact@v8