From 6e17c81bca4e3e63d3161e2d93b90b26f1d7731c Mon Sep 17 00:00:00 2001 From: Vitor Mattos Date: Sun, 3 Dec 2023 14:13:34 -0300 Subject: [PATCH] Downgrade the PHP version to be compatible with Nextcloud server The minimium version of PHP at Nextcloud server is 8.0 and if we run the command composer update in an environment with PHP 8.2 will update a lot of packages to versions that isn't compatible with PHP 8.0 Signed-off-by: Vitor Mattos --- .github/workflows/update-nextcloud-ocp.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-nextcloud-ocp.yml b/.github/workflows/update-nextcloud-ocp.yml index 29043d6d4e..3844f2f5d3 100644 --- a/.github/workflows/update-nextcloud-ocp.yml +++ b/.github/workflows/update-nextcloud-ocp.yml @@ -29,10 +29,10 @@ jobs: ref: ${{ matrix.branch }} submodules: true - - name: Set up php8.2 + - name: Set up php8.0 uses: shivammathur/setup-php@81cd5ae0920b34eef300e1775313071038a53429 # v2 with: - php-version: 8.2 + php-version: 8.0 extensions: ctype,curl,dom,fileinfo,gd,intl,json,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip coverage: none env: