File tree 1 file changed +1
-38
lines changed
1 file changed +1
-38
lines changed Original file line number Diff line number Diff line change 9
9
# This will run weekly on Sunday at 00:00 UTC.
10
10
- cron : ' 0 0 * * 0'
11
11
workflow_dispatch :
12
- inputs :
13
- php_version :
14
- description : ' Select PHP version (optional)'
15
- required : false
16
- type : choice
17
- options :
18
- - ' 8.1'
19
- - ' 8.2'
20
- - ' 8.3'
21
- - ' 8.4'
22
- default : ' '
23
- operating_system :
24
- description : ' Select operating system (optional)'
25
- required : false
26
- type : choice
27
- options :
28
- - ' ubuntu-latest'
29
- - ' windows-latest'
30
- - ' macos-13'
31
- - ' macos-latest'
32
- default : ' '
33
- enable_debug :
34
- description : ' Enable debug mode'
35
- required : false
36
- type : choice
37
- options :
38
- - ' true'
39
- - ' false'
40
- default : ' false'
41
12
42
13
env :
43
14
GITHUB_TOKEN : ${{ secrets.PAT }}
52
23
version : ["8.1", "8.2", "8.3", "8.4"]
53
24
os : ["macos-13", "macos-latest", "windows-latest", "ubuntu-latest"]
54
25
55
- include :
56
- - version : ${{ inputs.php_version }}
57
- os : ${{ inputs.operating_system }}
58
-
59
26
continue-on-error : true
60
27
61
28
steps :
@@ -155,11 +122,7 @@ jobs:
155
122
shell : bash
156
123
run : |
157
124
cd ../static-php-cli
158
- if [[ "${{ inputs.enable_debug }}" == "true" ]]; then
159
- ./bin/spc build --build-cli --debug "${{ env.PHP_EXTENSIONS }}"
160
- else
161
- ./bin/spc build --build-cli "${{ env.PHP_EXTENSIONS }}"
162
- fi
125
+ ./bin/spc build --build-cli "${{ env.PHP_EXTENSIONS }}"
163
126
cd ../php-bin
164
127
165
128
- name : Get built PHP version
You can’t perform that action at this time.
0 commit comments