Skip to content

Commit 5351ad6

Browse files
committed
.github: windows should use fix critool version
Signed-off-by: Wei Fu <[email protected]>
1 parent 290194f commit 5351ad6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,7 @@ jobs:
229229
with:
230230
repository: kubernetes-sigs/cri-tools
231231
path: src/github.com/kubernetes-sigs/cri-tools
232+
fetch-depth: 0
232233

233234
- name: Set env
234235
run: |
@@ -257,7 +258,9 @@ jobs:
257258
run: |
258259
set -o xtrace
259260
mingw32-make.exe binaries
261+
CRITEST_VERSION=$(cat script/setup/critools-version)
260262
cd ../../kubernetes-sigs/cri-tools
263+
git checkout "${CRITEST_VERSION}"
261264
make critest
262265
263266
- run: script/setup/install-cni-windows

0 commit comments

Comments
 (0)