Skip to content

Cache pruning fails in Post Job Cleanup #831

@adminy

Description

@adminy

Post job cleanup.
UV_CACHE_DIR is already set to /home/runner/.cache/uv
UV_PYTHON_INSTALL_DIR is already set to /home/runner/.local/share/uv/python
Pruning cache...
/opt/hostedtoolcache/uv/0.11.2/x86_64/uv cache prune --ci --force
No cache found at: /home/runner/.cache/uv
Error: Cache path /home/runner/.cache/uv does not exist on disk. This likely indicates that there are no dependencies to cache. Consider disabling the cache input if it is not needed.

the action is just:

      - name: Install uv
        uses: astral-sh/setup-uv@v7
        with:
          enable-cache: true
          python-version: 3.12
          github-token: ${{ secrets.GITHUB_TOKEN }}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions