mirror of https://github.com/nextcloud/bookmarks
CI: Fix upgrade workflow
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
parent
d0d5e1f570
commit
9f845a3401
|
@ -99,11 +99,11 @@ jobs:
|
|||
|
||||
- name: Import bookmarks
|
||||
run: |
|
||||
curl -u 'admin:admin' -F 'bm_import=@./apps/bookmarks/tests/res/import.file' http://localhost:8080/index.php/apps/bookmarks/public/rest/v2/folder/-1/import
|
||||
curl -u 'admin:admin' -vvv --fail -F 'bm_import=@./apps/bookmarks/tests/res/import.file' http://localhost:8080/index.php/apps/bookmarks/public/rest/v2/folder/-1/import
|
||||
|
||||
- name: Export bookmarks
|
||||
run: |
|
||||
curl -u 'admin:admin' "http://localhost:8080/index.php/apps/bookmarks/public/rest/v2/folder/-1/children?layers=-1" > export.json
|
||||
curl -u 'admin:admin' -vvv --fail "http://localhost:8080/index.php/apps/bookmarks/public/rest/v2/folder/-1/children?layers=-1" > export.json
|
||||
|
||||
- name: Remove current stable bookmarks
|
||||
run: |
|
||||
|
@ -124,7 +124,7 @@ jobs:
|
|||
|
||||
- name: Export bookmarks
|
||||
run: |
|
||||
curl -u 'admin:admin' "http://localhost:8080/index.php/apps/bookmarks/public/rest/v2/folder/-1/children?layers=-1" > export2.json
|
||||
curl -u 'admin:admin' -vvv --fail "http://localhost:8080/index.php/apps/bookmarks/public/rest/v2/folder/-1/children?layers=-1" > export2.json
|
||||
|
||||
- name: Compare exports
|
||||
run: |
|
||||
|
|
Loading…
Reference in New Issue