Cache Python versions not in the GitHub-hosted runners' tool cache. Β #991
Open
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.
Are you willing to submit a PR?
No, I am not very familiar with TypeScript.