Skip to content

Commit 777e4d4

Browse files
committed
Revert "Update build-php.yml"
This reverts commit c5cb360.
1 parent 2b961b0 commit 777e4d4

File tree

1 file changed

+1
-38
lines changed

1 file changed

+1
-38
lines changed

.github/workflows/build-php.yml

+1-38
Original file line numberDiff line numberDiff line change
@@ -9,35 +9,6 @@ on:
99
# This will run weekly on Sunday at 00:00 UTC.
1010
- cron: '0 0 * * 0'
1111
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'
4112

4213
env:
4314
GITHUB_TOKEN: ${{ secrets.PAT }}
@@ -52,10 +23,6 @@ jobs:
5223
version: ["8.1", "8.2", "8.3", "8.4"]
5324
os: ["macos-13", "macos-latest", "windows-latest", "ubuntu-latest"]
5425

55-
include:
56-
- version: ${{ inputs.php_version }}
57-
os: ${{ inputs.operating_system }}
58-
5926
continue-on-error: true
6027

6128
steps:
@@ -155,11 +122,7 @@ jobs:
155122
shell: bash
156123
run: |
157124
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 }}"
163126
cd ../php-bin
164127
165128
- name: Get built PHP version

0 commit comments

Comments
 (0)