Open
Description
Related to #1123, docs say the following here
If the exact patch version doesn't matter to you, specifying just the major and minor versions will get you the latest preinstalled patch version. In the previous example, the version spec 3.12 will use the 3.12.2 Python version found in the cache.
I saw that in a Windows action, requesting Python 3.13, on the first (failed) attempt the action used 3.13.4 and on the second attempt it used 3.13.3 (and therefore succeded).
What is the actual behaviour? Could docs be updated to reflect it?
# First attempt
Run actions/setup-python@v2
with:
python-version: 3.13
token: ***
env:
default-python: 3.11
Successfully setup CPython (3.13.4)
# Second attempt
...identical...
Successfully setup CPython (3.13.3)
More importantly, once 3.13.5 is cached, is there any guarantee that 3.13.4 won't be provided instead, once every few attempts, making CI fail?
Metadata
Metadata
Assignees
Labels
No labels