File tree 1 file changed +10
-1
lines changed 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 15
15
os_list :
16
16
required : false
17
17
default : ' ["ubuntu-latest", "windows-2019", "macOS-11"]'
18
+ python_version :
19
+ required : false
20
+ type : string
21
+ default : ' 3.11'
18
22
workflow_call :
19
23
inputs :
20
24
build_target :
38
42
# https://github.com/actions/virtual-environments/issues/5900
39
43
default : ' ["ubuntu-latest", "windows-2019", "macOS-11"]'
40
44
45
+ python_version :
46
+ required : false
47
+ type : string
48
+ default : ' 3.11'
49
+
41
50
concurrency :
42
51
# Skip intermediate builds: always.
43
52
# Cancel intermediate builds: only if it is a pull request build.
67
76
- name : Setup Python
68
77
uses : actions/setup-python@v4
69
78
with :
70
- python-version : ' 3.11 '
79
+ python-version : ${{ inputs.python_version }}
71
80
- name : Install Ninja
72
81
uses : llvm/actions/install-ninja@main
73
82
# actions/checkout deletes any existing files in the new git directory,
You can’t perform that action at this time.
0 commit comments