diff --git a/.forgejo/workflows/on_release.yml b/.forgejo/workflows/on_release.yml index eabf32befc..375f8a380c 100644 --- a/.forgejo/workflows/on_release.yml +++ b/.forgejo/workflows/on_release.yml @@ -23,17 +23,17 @@ jobs: - name: clone submodule shell: bash run: | - echo -e "[submodule \"android\"]\n\tpath = android\n\turl = https://source.mapcomplete.org/MapComplete/android-wrapper.git" > .gitmodules + echo -e "[submodule \"android\"]\n\tpath = android\n\turl = https://source.mapcomplete.org/MapComplete/android-wrapper" > .gitmodules cat .gitmodules git submodule update cd android git config --global --add safe.directory $(pwd) git remote -v - git pull origin main + git pull origin refs/heads/main - name: install deps run: npm ci - + - name: Move dependency (@capacitor) into android repo run: | cp -r ../node_modules/@capacitor ./