What's Changed
- Support for
python-version-fileinput: #336
Example of usage:
- uses: actions/setup-python@v4
with:
python-version-file: '.python-version' # Read python version from a file
- run: python my_script.pyThere is no default python version for this setup-python major version, the action requires to specify either python-version input or python-version-file input. If the python-version input is not specified the action will try to read required version from file from python-version-file input.
- Use pypyX.Y for PyPy
python-versioninput: #349
Example of usage:
- uses: actions/setup-python@v4
with:
python-version: 'pypy3.9' # pypy-X.Y kept for backward compatibility
- run: python my_script.py-
RUNNER_TOOL_CACHEenvironment variable is equalAGENT_TOOLSDIRECTORY: #338 -
Bugfix: create missing
pypyX.Ysymlinks: #347 -
PKG_CONFIG_PATHenvironment variable: #400 -
Added
python-pathoutput: #405
python-pathoutput contains Python executable path. -
Updated
zeit/ncctovercel/nccpackage: #393 -
Bugfix: fixed output for prerelease version of poetry: #409
-
Made
pythonLocationenvironment variable consistent for Python and PyPy: #418 -
Bugfix for
3.x-devsyntax: #417