fix(ci): 補上 php84-simplexml,修正 aws-sdk-php composer install 失敗
Run Tests / test (pull_request) Successful in 39s
Run Tests / test (pull_request) Successful in 39s
aws/aws-sdk-php(因 league/flysystem-aws-s3-v3 新增)要求 ext-simplexml, CI 的 Alpine runner 用 apk 逐一裝擴充套件,之前沒裝這個 package 導致 composer install 失敗。正式環境的 Dockerfile 是 Debian 版 php:8.2-fpm, simplexml 內建就有,不受影響,只有 CI 這邊要補。 Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011LpcY9b7y9x4fusHBTXciQ
This commit is contained in:
@@ -19,7 +19,7 @@ jobs:
|
|||||||
apk add --no-cache \
|
apk add --no-cache \
|
||||||
php84 php84-phar php84-mbstring php84-dom php84-fileinfo php84-gd \
|
php84 php84-phar php84-mbstring php84-dom php84-fileinfo php84-gd \
|
||||||
php84-pdo php84-pdo_sqlite php84-sqlite3 php84-tokenizer \
|
php84-pdo php84-pdo_sqlite php84-sqlite3 php84-tokenizer \
|
||||||
php84-xml php84-xmlwriter php84-ctype php84-curl php84-openssl \
|
php84-xml php84-xmlwriter php84-simplexml php84-ctype php84-curl php84-openssl \
|
||||||
php84-json php84-session php84-iconv \
|
php84-json php84-session php84-iconv \
|
||||||
curl unzip
|
curl unzip
|
||||||
ln -sf /usr/bin/php84 /usr/local/bin/php
|
ln -sf /usr/bin/php84 /usr/local/bin/php
|
||||||
|
|||||||
Reference in New Issue
Block a user