Skip to content

Commit

Permalink
Downgrade the PHP version to be compatible with Nextcloud server
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
vitormattos committed Dec 3, 2023
1 parent 78fe9ac commit 6e17c81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/update-nextcloud-ocp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 6e17c81

Please sign in to comment.