File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -181,16 +181,16 @@ jobs:
181
181
git clone https://github.com/chamilo/chash
182
182
cd chash
183
183
git checkout 0.2.x
184
- composer install
185
- php -d phar.readonly=0 createPhar.php
184
+ php7.4 /usr/local/bin/ composer install
185
+ php7.4 -d phar.readonly=0 createPhar.php
186
186
chmod +x chash.phar
187
187
sudo mv chash.phar /usr/local/bin/chash
188
188
189
189
- name : Install chamilo
190
190
run : |
191
- php ${{ github.workspace }}/chash/chash.php chash:chamilo_install 1.11.x ${{ github.workspace }} --no-interaction --sitename="Chamilo" --site_url="http://localhost/" --institution="Chamilo" --institution_url="https://chamilo.org" --encrypt_method="sha1" --firstname="John" --lastname="Doe" --language="english" --driver="pdo_mysql" --host="localhost" --port="3306" --dbname="chamilo" --dbuser="root" --dbpassword="root" --permissions_for_new_directories="0777" --permissions_for_new_files="0666" --linux-user="www-data" --linux-group="www-data" --username="admin" --password="admin" --email="admin@example.com" --phone="555-5555"
191
+ php7.4 ${{ github.workspace }}/chash/chash.php chash:chamilo_install 1.11.x ${{ github.workspace }} --no-interaction --sitename="Chamilo" --site_url="http://localhost/" --institution="Chamilo" --institution_url="https://chamilo.org" --encrypt_method="sha1" --firstname="John" --lastname="Doe" --language="english" --driver="pdo_mysql" --host="localhost" --port="3306" --dbname="chamilo" --dbuser="root" --dbpassword="root" --permissions_for_new_directories="0777" --permissions_for_new_files="0666" --linux-user="www-data" --linux-group="www-data" --username="admin" --password="admin" --email="admin@example.com" --phone="555-5555"
192
192
sudo chmod -R 777 app/cache app/logs app/courses app/upload web
193
- php ${{ github.workspace }}/chash/chash.php chash:chamilo_status
193
+ php7.4 ${{ github.workspace }}/chash/chash.php chash:chamilo_status
194
194
ls -la
195
195
bash tests/travis/post_installation.sh
196
196
curl http://localhost/index.php
You can’t perform that action at this time.
0 commit comments