Closed
Description
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:
- Ubuntu
- macOS
- Windows
Runner type:
- Hosted
- Self-hosted
Tools version:
All
Repro steps:
-
Create a
.python-version
file containing3.10.4
. -
Add the following to your workflow:
- name: Set up Python based on .python-version file. uses: actions/[email protected]
-
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
.