fix(ci): 修正 Alpine 3.23 PHP 套件名稱為 php84 #47
@@ -17,12 +17,12 @@ jobs:
|
|||||||
- name: Setup PHP
|
- name: Setup PHP
|
||||||
run: |
|
run: |
|
||||||
apk add --no-cache \
|
apk add --no-cache \
|
||||||
php82 php82-phar php82-mbstring php82-dom php82-fileinfo php82-gd \
|
php84 php84-phar php84-mbstring php84-dom php84-fileinfo php84-gd \
|
||||||
php82-pdo php82-pdo_sqlite php82-sqlite3 php82-tokenizer \
|
php84-pdo php84-pdo_sqlite php84-sqlite3 php84-tokenizer \
|
||||||
php82-xml php82-xmlwriter php82-ctype php82-curl php82-openssl \
|
php84-xml php84-xmlwriter php84-ctype php84-curl php84-openssl \
|
||||||
php82-json php82-session php82-iconv \
|
php84-json php84-session php84-iconv \
|
||||||
curl unzip
|
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
|
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer --quiet
|
||||||
|
|
||||||
- name: Copy .env
|
- name: Copy .env
|
||||||
|
|||||||
Reference in New Issue
Block a user