setup-python
setup-python copied to clipboard
Throwing an error when python-version input is empty and PYTHON_VERSION_REQUIRED is set true
Description:
- The error message has been added in https://github.com/actions/setup-python/pull/396 . Whether the warning message is displayed or exited can be changed by
PYTHON_VERSION_REQUIREDenvironment variable.
Related issue:
- https://github.com/actions/setup-python/issues/241
Check list:
- [x] Mark if documentation changes are required.
- [x] Mark if tests were added or updated to cover the changes.