fix(ci): ignore platform reqs in release & create-zip workflows#173
Closed
GytisZum wants to merge 1 commit into
Closed
fix(ci): ignore platform reqs in release & create-zip workflows#173GytisZum wants to merge 1 commit into
GytisZum wants to merge 1 commit into
Conversation
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) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The latest
v3.3.1release run failed — thereleaseworkflow errored at the firstcomposer installstep, so the module ZIP was never built or attached to the release.composer.jsonpins a fake platform PHP version:All locked dependencies require PHP ≥ 7.1/8.x, so Composer's lock-file compatibility check fails immediately:
This exact fix (
--ignore-platform-reqs) was already applied toindex.ymlin commit 7375297, but never propagated torelease.ymlorcreate-zip.yml.Fix
Add
--ignore-platform-reqsto thecomposer installandcomposer dump-autoloadcalls in bothrelease.ymlandcreate-zip.yml, matchingindex.yml.🤖 Generated with Claude Code