You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Log statement omits default Python version file #428
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 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.
Activity
vsafonkin commentedon Jun 13, 2022
Hi @Kurt-von-Laven, we will take a look at this, thanks!