-
Notifications
You must be signed in to change notification settings - Fork 692
Closed
Labels
bugSomething isn't workingSomething isn't working
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-versionfile containing3.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.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working