From a381f1426fd0b5750ca756d6b500e2fded8b878f Mon Sep 17 00:00:00 2001 From: Fredrik Rombach Ekelund Date: Mon, 3 Aug 2026 16:57:13 +0200 Subject: [PATCH 1/2] Fix `Build PHP CLI Binaries` GitHub Actions workflow To fix the issue where Node could not find the yargs module: - Setup the correct Node version - Run `npm ci` --- .github/workflows/build-php-cli-binaries.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/build-php-cli-binaries.yml b/.github/workflows/build-php-cli-binaries.yml index 9f26363311..55795dec88 100644 --- a/.github/workflows/build-php-cli-binaries.yml +++ b/.github/workflows/build-php-cli-binaries.yml @@ -608,6 +608,18 @@ jobs: with: bundler-cache: true + - name: Setup Node + uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7 + with: + node-version-file: '.nvmrc' + cache: 'npm' + + - name: Install dependencies + # The metadata script and the formatting it runs afterwards need the repo's dev dependencies. + # `--ignore-scripts` skips the postinstall downloads (WordPress files, PHP binaries), which + # this job never uses. + run: npm ci --ignore-scripts + - name: Download PHP CLI artifacts uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8 with: From 80a06b9fdf508f60d866272b24c4938548801581 Mon Sep 17 00:00:00 2001 From: Fredrik Rombach Ekelund Date: Tue, 4 Aug 2026 15:29:57 +0200 Subject: [PATCH 2/2] Bump default Xdebug version when building PHP --- .github/workflows/build-php-cli-binaries.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-php-cli-binaries.yml b/.github/workflows/build-php-cli-binaries.yml index 55795dec88..6d17471f61 100644 --- a/.github/workflows/build-php-cli-binaries.yml +++ b/.github/workflows/build-php-cli-binaries.yml @@ -15,7 +15,7 @@ on: xdebug_version: description: Xdebug version to package required: true - default: 3.5.1 + default: 3.5.3 spc_ref: # Pinned to PR #1204, which enables SQLITE_ENABLE_COLUMN_METADATA on # Unix builds so PDO populates getColumnMeta()['table'] (fixes