Skip to content

Commit ff5e839

Browse files
committed
Gh why?
1 parent 4c16287 commit ff5e839

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

.github/workflows/update-uthash.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,18 @@ jobs:
1919
submodules: recursive
2020
token: ${{ secrets.GITHUB_TOKEN }}
2121

22-
- name: Clean submodule changes
23-
run: |
24-
git submodule update --init src/libltfs/uthash_submodule
25-
git checkout -- src/libltfs/uthash_submodule
26-
2722
- name: Update submodule to latest
2823
run: |
29-
git submodule update --remote --merge src/libltfs/uthash_submodule
24+
cd src/libltfs/uthash_submodule
25+
git fetch origin
26+
git checkout master
27+
git pull origin master
28+
cd ../../..
29+
git add src/libltfs/uthash_submodule
3030
3131
- name: Check for changes
3232
id: check_changes
3333
run: |
34-
git add src/libltfs/uthash_submodule
3534
git diff --cached --quiet || echo "changed=true" >> $GITHUB_OUTPUT
3635
3736
- name: Create Pull Request

0 commit comments

Comments
 (0)