Skip to content

Commit 1af1a6d

Browse files
committed
Update readme with new inputs
1 parent 6a2baf3 commit 1af1a6d

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,10 @@ This action supports the following inputs (in bold are the names of the exclusiv
111111
|token|The token used to authenticate when fetching Python distributions from [actions/python-versions](https://github.com/actions/python-versions). When running this action on github.com, the default value is sufficient. When running on GHES, you can pass a personal access token for github.com if you are experiencing rate limiting.|example: `TokenString`|`github.token`|
112112
|cache-dependency-path|Used to specify the path to dependency files. Supports wildcards or a list of file names for caching multiple dependencies.|example: `path/to/dependency/files`|`''`|
113113
|update-environment|Set this option if you want the action to update environment variables.|`true`, `false`|`true`|
114-
|freethreaded| When 'true', use the freethreaded version of Python.|`true`, `false`|`false`|
114+
|freethreaded|When 'true', use the freethreaded version of Python.|`true`, `false`|`false`|
115+
|allow-prereleases|When 'true', a version range passed to 'python-version' input will match prerelease versions if no GA versions are found. Only 'x.y' version range is supported for CPython.|`true`, `false`|`false`|
116+
|pip-version|Used to specify the version of pip to install with the Python. Supported format: `major[.minor][.patch]`.|`20.0.0`, `22`|`None`|
117+
|pip-install|Used to specify the packages to install with pip after setting up Python. Can be a requirements file or package names.|`pandas numpy`, `requirements.txt`|`None`|
115118
|**cache-build**|Whether to cache the built Python distribution to speed up successive runs.|`true`, `false`|`false`|
116119
|**allow-build**|Set the behavior of the action when [actions/setup-python](https://github.com/actions/setup-python) fails and has to be built from source.|`allow`, `info`, `warn`, `error`, `force`|`warn`|
117120

0 commit comments

Comments
 (0)