From a2c46d03804c631d6d070195c7a730f281dfb753 Mon Sep 17 00:00:00 2001 From: Gytautas Zumaras Date: Tue, 30 Jun 2026 17:10:18 +0300 Subject: [PATCH] fix(ci): ignore platform reqs in release and create-zip workflows The release and create-zip workflows ran a bare composer install while composer.json pins config.platform.php to 5.6. Since all locked deps require PHP >= 7.1/8.x, composer's lock compatibility check failed immediately and the ZIP was never built (latest v3.3.1 release run failed). Add --ignore-platform-reqs to composer install/dump-autoload, matching the fix already applied to index.yml. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/create-zip.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/create-zip.yml b/.github/workflows/create-zip.yml index 22074b4a..51b98fec 100644 --- a/.github/workflows/create-zip.yml +++ b/.github/workflows/create-zip.yml @@ -14,8 +14,8 @@ jobs: fetch-depth: 0 - name: build run: | - composer install --no-dev --optimize-autoloader --classmap-authoritative - composer dump-autoload --no-dev --optimize --classmap-authoritative + composer install --no-dev --optimize-autoloader --classmap-authoritative --ignore-platform-reqs + composer dump-autoload --no-dev --optimize --classmap-authoritative --ignore-platform-reqs rm -rf .git .github tests vendor.zip .gitignore mkdir dpdbaltics rsync -Rr ./ ./dpdbaltics diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 222bc07d..03567f0d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,8 +13,8 @@ jobs: fetch-depth: 0 - name: build run: | - composer install --no-dev --optimize-autoloader --classmap-authoritative - composer dump-autoload --no-dev --optimize --classmap-authoritative + composer install --no-dev --optimize-autoloader --classmap-authoritative --ignore-platform-reqs + composer dump-autoload --no-dev --optimize --classmap-authoritative --ignore-platform-reqs rm -rf .git rm -rf .github rm -rf tests