Skip to content

build(deps): bump shivammathur/setup-php from 2.30.5 to 2.31.0 #240

build(deps): bump shivammathur/setup-php from 2.30.5 to 2.31.0

build(deps): bump shivammathur/setup-php from 2.30.5 to 2.31.0 #240

name: Nextcloud app setup
on:
push:
paths:
- '**setup-nextcloud-app**'
- 'package.json'
- 'package-lock.json'
- 'node_modules/**'
pull_request:
paths:
- '**setup-nextcloud-app**'
- 'package.json'
- 'package-lock.json'
- 'node_modules/**'
jobs:
setup-nextcloud-app:
runs-on: ubuntu-latest
env:
FILENAME: ".revision"
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/[email protected]
with:
php-version: '8.2'
- name: Server setup
uses: ./setup-nextcloud/
with:
version: 'stable27'
database-type: 'sqlite'
- name: Test setup
run: |
mkdir appinfo &&
curl https://raw.githubusercontent.com/nextcloud/app-tutorial/HEAD/appinfo/info.xml -o appinfo/info.xml
- name: Script test
uses: ./setup-nextcloud-app/
with:
app: 'notestutorial'
check-code: false
force: true
- name: Test setup
run: cd ../server && ./occ app:list | grep notestutorial