Skip to content

Commit 249f4c9

Browse files
authored
Update build_wheels_windows.yml
1 parent 87ad343 commit 249f4c9

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/build_wheels_windows.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
uses: actions/checkout@v4
5252
with:
5353
submodules: false
54-
fetch-depth: 1
54+
fetch-depth: 0
5555

5656
- name: Set up Python ${{ matrix.python-version }}
5757
uses: actions/setup-python@v4
@@ -110,7 +110,16 @@ jobs:
110110
uses: actions/checkout@v4
111111
with:
112112
submodules: true
113-
fetch-depth: 1
113+
fetch-depth: 0
114+
115+
- name: Update submodules to HEAD of 4.x
116+
shell: bash
117+
run: |
118+
git submodule foreach '
119+
echo "$name"
120+
git fetch origin
121+
git checkout 4.x || true
122+
git pull origin 4.x || true
114123
115124
- name: Show current commit and branch
116125
run: |

0 commit comments

Comments
 (0)