Skip to content

Commit c8109ec

Browse files
committed
add unshallow to npm worklfow
1 parent 424f223 commit c8109ec

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

.github/workflows/publish-npm.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,13 @@ jobs:
1717
with:
1818
submodules: recursive
1919

20-
- name: Fetch all submodule branches
20+
- name: Prepare submodule branches for build
21+
working-directory: LiaScript
2122
run: |
22-
git submodule foreach '
23-
git fetch --all
24-
git checkout -B feat/fullPage origin/feat/fullPage || true
25-
git checkout -B feat/capacitor8 origin/feat/capacitor8 || true
26-
git checkout development || true
27-
'
23+
git fetch --unshallow || git fetch --all
24+
git checkout -B feat/fullPage origin/feat/fullPage
25+
git checkout -B feat/capacitor8 origin/feat/capacitor8
26+
git checkout development
2827
2928
- name: Setup Node.js
3029
uses: actions/setup-node@v4

0 commit comments

Comments
 (0)