Skip to content

Commit 6b9fb83

Browse files
committed
fix(ci): Only build Assistant from git for main branch
For stable branches, use the App Store version to avoid compatibility issues with newer Assistant versions that only support Nextcloud versions 33+ Signed-off-by: silver <s.szmajduch@posteo.de>
1 parent b58f02b commit 6b9fb83

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/cypress-e2e.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,13 @@ jobs:
4141
path: apps/viewer
4242

4343
- name: Register assistant Git reference
44+
if: matrix.server-versions == 'main'
4445
run: |
4546
assistant_app_ref="$(if [ "${{ matrix.server-versions }}" = "stable30" ]; then echo -n "main"; else echo -n "${{ matrix.server-versions }}"; fi)"
4647
echo "assistant_app_ref=$assistant_app_ref" >> $GITHUB_ENV
4748
4849
- name: Checkout assistant
50+
if: matrix.server-versions == 'main'
4951
uses: actions/checkout@v4.1.1
5052
with:
5153
repository: nextcloud/assistant
@@ -81,6 +83,7 @@ jobs:
8183
TESTING=true npm run build --if-present
8284
8385
- name: Install node dependencies & build assistant app
86+
if: matrix.server-versions == 'main'
8487
working-directory: apps/assistant
8588
run: |
8689
composer install --no-dev

0 commit comments

Comments
 (0)