Skip to content

Commit 9b6b51f

Browse files
committed
upgrade the apps
Signed-off-by: nabim777 <nabinalemagar019@gmail.com>
1 parent 0c3f54c commit 9b6b51f

1 file changed

Lines changed: 17 additions & 1 deletion

File tree

.github/workflows/shared_workflow.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,9 +221,12 @@ jobs:
221221
- name: Prepare Nextcloud server (for phpunit and psalm)
222222
run: server/occ maintenance:install --admin-pass=admin
223223

224-
- name: Install PHP dependencies and enable integration_openproject app (for phpunit and psalm)
224+
- name: Install PHP dependencies
225225
run: |
226226
composer install --no-progress --prefer-dist --optimize-autoloader
227+
228+
- name: Enable integration_openproject app (for phpunit and psalm)
229+
run: |
227230
cd server
228231
if [ "${{matrix.nextcloudVersion}}" == "master" ]; then
229232
# enable app even if it is not compatible with the master branch
@@ -232,6 +235,19 @@ jobs:
232235
./occ a:e integration_openproject
233236
fi
234237
238+
- name: Checkout integration_openproject app (release version for upgrade)
239+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
240+
with:
241+
path: integration_openproject
242+
243+
- name: Update integration_openproject app
244+
run: |
245+
pwd
246+
ls
247+
cd server
248+
./occ upgrade
249+
./occ app:update --allow-unstable integration_openproject
250+
235251
- name: PHP code analysis and linting
236252
run: |
237253
make psalm

0 commit comments

Comments
 (0)