From d6e6ffe04c75bcd6f01545ac5f83ffaef7874ff3 Mon Sep 17 00:00:00 2001 From: Alexander Piskun Date: Thu, 28 Dec 2023 18:15:53 +0300 Subject: [PATCH 1/2] added installation of the Notes app --- .github/workflows/tests.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 4e5d5dc8..b48ef21d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -74,6 +74,14 @@ jobs: with: path: apps/${{ env.APP_NAME }} + - name: Checkout Notes + uses: actions/checkout@v4 + if: ${{ !startsWith(matrix.nextcloud, 'master') }} + with: + repository: nextcloud/notes + ref: "main" + path: apps/notes + - name: Set up php ${{ matrix.php-version }} uses: shivammathur/setup-php@4bd44f22a98a19e0950cbad5f31095157cc9621b # v2 with: @@ -106,6 +114,10 @@ jobs: ./occ app:enable notifications ./occ app:enable --force ${{ env.APP_NAME }} + - name: Enable Notes + if: ${{ !startsWith(matrix.nextcloud, 'master') }} + run: ./occ app:enable notes + - name: Run Nextcloud run: PHP_CLI_SERVER_WORKERS=2 php -S 127.0.0.1:8080 & From 8346106e69b14254cc508ecad166f45b230f0b7e Mon Sep 17 00:00:00 2001 From: Alexander Piskun Date: Thu, 28 Dec 2023 18:26:30 +0300 Subject: [PATCH 2/2] added installation of the Notes app (2) --- .github/workflows/tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b48ef21d..862c2a18 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -76,7 +76,7 @@ jobs: - name: Checkout Notes uses: actions/checkout@v4 - if: ${{ !startsWith(matrix.nextcloud, 'master') }} + if: ${{ !startsWith(matrix.server-version, 'master') }} with: repository: nextcloud/notes ref: "main" @@ -115,7 +115,7 @@ jobs: ./occ app:enable --force ${{ env.APP_NAME }} - name: Enable Notes - if: ${{ !startsWith(matrix.nextcloud, 'master') }} + if: ${{ !startsWith(matrix.server-version, 'master') }} run: ./occ app:enable notes - name: Run Nextcloud