Skip to content

Fix release workflow failure caused by setup-uv cache post-step - #791

Merged
Facundo Santiago (santiagxf) merged 2 commits into
mainfrom
copilot/fix-publishing-job-failure
Jun 30, 2026
Merged

Fix release workflow failure caused by setup-uv cache post-step#791
Facundo Santiago (santiagxf) merged 2 commits into
mainfrom
copilot/fix-publishing-job-failure

Conversation

Copilot AI commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

The release workflow run failed in the publish job even though package upload succeeded. The failure was triggered by setup-uv post-job cache handling when no cache path was created in that job context.

  • Root cause

    • publish failed on Post Set up Python + uv due to missing cache directory (/home/runner/work/_temp/setup-uv-cache), not during PyPI publish itself.
  • Workflow changes

    • Disabled setup-uv caching in release jobs that do not need dependency caching:
      • publish
      • mark-release
    • Scope is intentionally limited to _release.yml; build/test job behavior is unchanged.
  • Representative change

    - name: Set up Python + uv ${{ env.UV_VERSION }}
      uses: astral-sh/setup-uv@v7
      with:
        version: ${{ env.UV_VERSION }}
        python-version: ${{ env.PYTHON_VERSION }}
        enable-cache: false

Copilot AI changed the title [WIP] Fix failing GitHub Actions job 'publish' Fix release workflow failure caused by setup-uv cache post-step Jun 30, 2026
@santiagxf
Facundo Santiago (santiagxf) marked this pull request as ready for review June 30, 2026 15:45
@santiagxf
Facundo Santiago (santiagxf) merged commit e0b35d1 into main Jun 30, 2026
41 checks passed
@santiagxf
Facundo Santiago (santiagxf) deleted the copilot/fix-publishing-job-failure branch June 30, 2026 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants