Skip to content

Commit f2522aa

Browse files
authored
CI fix: app_api is now bundled app from NC 30.0.1 (#303)
Since Nextcloud 30.0.1 version, AppAPI has become built into the server, so now the `stable29` branch is the branch for Nextcloud `28` and `29`, and the `main` branch corresponds to the `master` branch of the server, and branch 30 is there for Nextcloud `30.0.1+` It is tough.. Signed-off-by: Alexander Piskun <[email protected]>
1 parent 9f29701 commit f2522aa

File tree

1 file changed

+26
-5
lines changed

1 file changed

+26
-5
lines changed

.github/workflows/analysis-coverage.yml

Lines changed: 26 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,8 @@ jobs:
106106
uses: actions/checkout@v4
107107
with:
108108
path: apps/app_api
109-
repository: cloud-py-api/app_api
109+
repository: nextcloud/app_api
110+
ref: stable29
110111

111112
- name: Install AppAPI
112113
run: |
@@ -248,7 +249,8 @@ jobs:
248249
uses: actions/checkout@v4
249250
with:
250251
path: apps/app_api
251-
repository: cloud-py-api/app_api
252+
repository: nextcloud/app_api
253+
ref: stable29
252254

253255
- name: Install AppAPI
254256
run: |
@@ -390,7 +392,8 @@ jobs:
390392
uses: actions/checkout@v4
391393
with:
392394
path: apps/app_api
393-
repository: cloud-py-api/app_api
395+
repository: nextcloud/app_api
396+
ref: stable29
394397

395398
- name: Install AppAPI
396399
run: |
@@ -525,10 +528,19 @@ jobs:
525528
run: python3 -m pip -v install ".[dev]"
526529

527530
- name: Checkout AppAPI
531+
if: ${{ matrix.nextcloud != 'master' }}
528532
uses: actions/checkout@v4
529533
with:
530534
path: apps/app_api
531-
repository: cloud-py-api/app_api
535+
repository: nextcloud/app_api
536+
ref: stable29
537+
538+
- name: Checkout AppAPI
539+
if: ${{ matrix.nextcloud == 'master' }}
540+
uses: actions/checkout@v4
541+
with:
542+
path: apps/app_api
543+
repository: nextcloud/app_api
532544

533545
- name: Install AppAPI
534546
run: |
@@ -692,10 +704,19 @@ jobs:
692704
run: python3 -m pip -v install ".[dev]"
693705

694706
- name: Checkout AppAPI
707+
if: ${{ matrix.nextcloud != 'master' }}
708+
uses: actions/checkout@v4
709+
with:
710+
path: apps/app_api
711+
repository: nextcloud/app_api
712+
ref: stable29
713+
714+
- name: Checkout AppAPI
715+
if: ${{ matrix.nextcloud == 'master' }}
695716
uses: actions/checkout@v4
696717
with:
697718
path: apps/app_api
698-
repository: cloud-py-api/app_api
719+
repository: nextcloud/app_api
699720

700721
- name: Install AppAPI
701722
run: |

0 commit comments

Comments
 (0)