Skip to content

Commit 4dfa845

Browse files
committed
update actions
1 parent 1eea962 commit 4dfa845

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/update-submodules.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ jobs:
1616

1717
- name: Update all submodules to latest commit
1818
run: |
19-
git submodule update --init --recursive
20-
git submodule update --remote --merge --force
19+
git submodule foreach --recursive 'git fetch && git reset --hard origin/$(git rev-parse --abbrev-ref HEAD)'
2120
2221
- name: Commit and push changes
2322
run: |

0 commit comments

Comments
 (0)