File tree 1 file changed +6
-4
lines changed
1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change 14
14
python-version :
15
15
description : ' Specify Python version to use'
16
16
required : false
17
- default : ' 3.10'
18
17
run-eol-python-version :
19
18
description : ' Run EOL python version?'
20
19
required : false
28
27
- main
29
28
- dev
30
29
30
+ env :
31
+ DEFAULT_PYTHON_VERSION : " 3.10"
32
+ EOL_PYTHON_VERSION : " 3.9"
33
+ EXIT_STATUS : 0
34
+
31
35
jobs :
32
36
integration-tests :
33
37
runs-on : ubuntu-latest
34
- env :
35
- EXIT_STATUS : 0
36
38
steps :
37
39
- name : Clone Repository with SHA
38
40
if : ${{ inputs.sha != '' }}
52
54
- name : Setup Python
53
55
uses : actions/setup-python@v5
54
56
with :
55
- python-version : ${{ inputs.run-eol-python-version == 'true' && '3.9' || inputs.python-version }}
57
+ python-version : ${{ inputs.run-eol-python-version == 'true' && env.EOL_PYTHON_VERSION || inputs.python-version || env.DEFAULT_PYTHON_VERSION }}
56
58
57
59
- name : Install Python deps
58
60
run : pip install -U setuptools wheel boto3 certifi
You can’t perform that action at this time.
0 commit comments