fix(ci): 修正 Alpine 3.23 PHP 套件名稱為 php84
Run Tests / test (pull_request) Successful in 37s

Alpine 3.23 已無 php82 套件,改用 php84。

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-18 00:37:46 +08:00
parent 95a93b2d72
commit 0080e2da84
+5 -5
View File
@@ -17,12 +17,12 @@ jobs:
- name: Setup PHP
run: |
apk add --no-cache \
php82 php82-phar php82-mbstring php82-dom php82-fileinfo php82-gd \
php82-pdo php82-pdo_sqlite php82-sqlite3 php82-tokenizer \
php82-xml php82-xmlwriter php82-ctype php82-curl php82-openssl \
php82-json php82-session php82-iconv \
php84 php84-phar php84-mbstring php84-dom php84-fileinfo php84-gd \
php84-pdo php84-pdo_sqlite php84-sqlite3 php84-tokenizer \
php84-xml php84-xmlwriter php84-ctype php84-curl php84-openssl \
php84-json php84-session php84-iconv \
curl unzip
ln -sf /usr/bin/php82 /usr/local/bin/php
ln -sf /usr/bin/php84 /usr/local/bin/php
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer --quiet
- name: Copy .env