Skip to content

Cache Python versions not in the GitHub-hosted runners' tool cache. Β #991

Open
@vivodi

Description

Description:
Currently, if the selected Python version is not in the GitHub-hosted runners' tool cache, it needs to be downloaded. (This is described in advanced usage)

I would like setup-python to cache Python versions not in the GitHub-hosted runners' tool cache, and if there are new versions in actions/python-versions, it should download the new version and update the cache.

Justification:
I have observed that Python 3.13 is not in the tool cache of the windows-latest image, and setup-python takes 1 minute and 14 seconds to download and install Python. I would like to leverage caching to speed up this process.

image

Are you willing to submit a PR?
No, I am not very familiar with TypeScript.

Metadata

Assignees

No one assigned

    Labels

    feature requestNew feature or request to improve the current logic

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions