Description:
When neither python-version nor python-version-file is specified, the setup-python correctly defaults to reading the Python version from .python-version as documented. However, it logs: Resolved as x.y.z.
Action version:
v4.0.0
Platform:
Runner type:
Tools version:
All
Repro steps:
-
Create a .python-version file containing 3.10.4.
-
Add the following to your workflow:
- name: Set up Python based on .python-version file.
uses: actions/setup-python@v4.0.0
-
Run your workflow.
-
Examine the logs.
Expected behavior:
I expected the logs to include: Resolved .python-version as 3.10.4.
Actual behavior:
The pertinent log statement says: Resolved as 3.10.4.
Description:
When neither
python-versionnorpython-version-fileis specified, thesetup-pythoncorrectly defaults to reading the Python version from.python-versionas documented. However, it logs:Resolved as x.y.z.Action version:
v4.0.0
Platform:
Runner type:
Tools version:
All
Repro steps:
Create a
.python-versionfile containing3.10.4.Add the following to your workflow:
Run your workflow.
Examine the logs.
Expected behavior:
I expected the logs to include:
Resolved .python-version as 3.10.4.Actual behavior:
The pertinent log statement says:
Resolved as 3.10.4.