1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-05 00:27:25 +00:00

Try running update-alternatives for php 7.2 as before system-setup

This commit is contained in:
downtownallday 2021-08-23 13:25:32 -04:00
parent d8c52fedc5
commit bad57e8688

View File

@ -10,9 +10,12 @@ jobs:
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
# without nanasess/setup-pup setup/webmail.sh returns "Unsupported PHP version. Required PHP >= 5.4 and < 8.0", which is generated by roundcubemail/program/include/iniset.php indicating that PHP >= 8.0 # without nanasess/setup-pup setup/webmail.sh returns "Unsupported PHP version. Required PHP >= 5.4 and < 8.0", which is generated by roundcubemail/program/include/iniset.php indicating that PHP >= 8.0
- uses: nanasess/setup-php@master # However, setup/zpush.sh then fails to install package "php-xsl" with "E: Package 'php-xsl' has no installation candidate"
with: # - uses: nanasess/setup-php@master
php-version: '7.2' # with:
# php-version: '7.2'
- name: update-system-php
run: sudo update-alternatives --set php /usr/bin/php7.2
- name: setup - name: setup
run: sudo -E tests/system-setup/remote-nextcloud-docker.sh upgrade basic run: sudo -E tests/system-setup/remote-nextcloud-docker.sh upgrade basic
- name: test-runner - name: test-runner