Action breaks when .python-version
file specifies multiple versions
#734
Labels
feature request
New feature or request to improve the current logic
Description:
The action breaks if the
.python-version
file specifies multiple Python versions. This is a supported behavior inpyenv
. Frompyenv
README.md:Action version:
v4.7.0
Platform:
Runner type:
Tools version:
All Python versions affected.
Repro steps:
.python-version
file in the repository with multiple versions specified, one in each line..python-version
file.Example of failing run:
https://github.com/unconventionaldotdev/unbeheader/actions/runs/6320589478/job/17163309443?pr=14#step:4:10
Expected behavior:
The action should take the Python version from the first line of the
.python-version
file.Actual behavior:
The action takes the entire
.python-version
file as the Python version, instead, and fails.The text was updated successfully, but these errors were encountered: