@@ -4,16 +4,19 @@ description: 'Set up a specific version of Python and add the command-line tools
4
4
author : ' GitHub'
5
5
inputs :
6
6
python-version :
7
- description : ' Version range or exact version of Python/PyPy to use, using SemVer' s version range syntax.'
7
+ description : " Version range or exact version of Python/PyPy to use, using SemVer's version range syntax."
8
8
python-version-file :
9
- description : ' File containing the Python version to use. Example: .python-version'
9
+ description : " File containing the Python version to use. Example: .python-version"
10
10
cache :
11
11
description : ' Used to specify a package manager for caching in the default directory. Supported values: pip, pipenv, poetry.'
12
12
required : false
13
13
architecture :
14
- description : ' The target architecture (x86, x64) of the Python/PyPy interpreter.'
14
+ description : " The target architecture (x86, x64) of the Python/PyPy interpreter."
15
+ check-latest :
16
+ description : ' Set this option if you want the action to check for the latest available version that satisfies the version spec.'
17
+ default : false
15
18
token :
16
- description : ' Used to pull python distributions from actions/python-versions. Since there' s a default, this is typically not supplied by the user.'
19
+ description : " Used to pull python distributions from actions/python-versions. Since there's a default, this is typically not supplied by the user."
17
20
default : ${{ github.token }}
18
21
cache-dependency-path :
19
22
description : ' Used to specify the path to dependency files. Supports wildcards or a list of file names for caching multiple dependencies.'
@@ -22,11 +25,11 @@ inputs:
22
25
default : true
23
26
outputs :
24
27
python-version :
25
- description : ' The installed Python/PyPy version. Useful when given a version range as input.'
28
+ description : " The installed Python/PyPy version. Useful when given a version range as input."
26
29
cache-hit :
27
30
description : ' A boolean value to indicate a cache entry was found'
28
31
python-path :
29
- description : ' The absolute path to the Python/PyPy executable.'
32
+ description : " The absolute path to the Python/PyPy executable."
30
33
runs :
31
34
using : ' node16'
32
35
main : ' dist/setup/index.js'
0 commit comments