Skip to content

Commit

Permalink
chore: add PHP 8.4
Browse files Browse the repository at this point in the history
Signed-off-by: SebastianKrupinski <[email protected]>
  • Loading branch information
SebastianKrupinski committed Oct 17, 2024
1 parent c49a50f commit 5a6e006
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,9 @@ jobs:
# do not stop on another job's failure
fail-fast: false
matrix:
include:
- php-versions: '8.1'
server-versions: 'master'
- php-versions: '8.1'
server-versions: 'stable30'
php-versions: ['8.1']
databases: ['sqlite']
server-versions: ['master', 'stable30']

name: php${{ matrix.php-versions }}-${{ matrix.databases }}-${{ matrix.server-versions }}

Expand Down Expand Up @@ -89,9 +86,9 @@ jobs:
# do not stop on another job's failure
fail-fast: false
matrix:
php-versions: ['8.1', '8.2', '8.3']
php-versions: ['8.1', '8.2', '8.3', '8.4']
databases: ['mysql']
server-versions: ['master']
server-versions: ['master', 'stable30']

name: php${{ matrix.php-versions }}-${{ matrix.databases }}-${{ matrix.server-versions }}

Expand All @@ -118,7 +115,7 @@ jobs:
path: apps/${{ env.APP_NAME }}

- name: Patch for nightly PHP
if: ${{ matrix.php-versions == '8.2' }}
if: ${{ matrix.php-versions == '8.4' }}
run: |
echo "<?php" > lib/versioncheck.php
sed -i 's/max-version="8.1"/max-version="8.2"/' apps/${{ env.APP_NAME }}/appinfo/info.xml
Expand Down
2 changes: 1 addition & 1 deletion appinfo/info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<screenshot>https://raw.githubusercontent.com/nextcloud/screenshots/master/apps/Contacts/contacts.png</screenshot>

<dependencies>
<php min-version="8.1" max-version="8.3" />
<php min-version="8.1" max-version="8.4" />
<nextcloud min-version="30" max-version="31" />
</dependencies>

Expand Down

0 comments on commit 5a6e006

Please sign in to comment.