Skip to content

Commit

Permalink
Revert "Update build-php.yml"
Browse files Browse the repository at this point in the history
This reverts commit c5cb360.
  • Loading branch information
simonhamp committed Dec 7, 2024
1 parent 2b961b0 commit 777e4d4
Showing 1 changed file with 1 addition and 38 deletions.
39 changes: 1 addition & 38 deletions .github/workflows/build-php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,35 +9,6 @@ on:
# This will run weekly on Sunday at 00:00 UTC.
- cron: '0 0 * * 0'
workflow_dispatch:
inputs:
php_version:
description: 'Select PHP version (optional)'
required: false
type: choice
options:
- '8.1'
- '8.2'
- '8.3'
- '8.4'
default: ''
operating_system:
description: 'Select operating system (optional)'
required: false
type: choice
options:
- 'ubuntu-latest'
- 'windows-latest'
- 'macos-13'
- 'macos-latest'
default: ''
enable_debug:
description: 'Enable debug mode'
required: false
type: choice
options:
- 'true'
- 'false'
default: 'false'

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

include:
- version: ${{ inputs.php_version }}
os: ${{ inputs.operating_system }}

continue-on-error: true

steps:
Expand Down Expand Up @@ -155,11 +122,7 @@ jobs:
shell: bash
run: |
cd ../static-php-cli
if [[ "${{ inputs.enable_debug }}" == "true" ]]; then
./bin/spc build --build-cli --debug "${{ env.PHP_EXTENSIONS }}"
else
./bin/spc build --build-cli "${{ env.PHP_EXTENSIONS }}"
fi
./bin/spc build --build-cli "${{ env.PHP_EXTENSIONS }}"
cd ../php-bin
- name: Get built PHP version
Expand Down

0 comments on commit 777e4d4

Please sign in to comment.