Skip to content

Commit d9c099a

Browse files
fuweidk8s-infra-cherrypick-robot
authored andcommitted
.github: windows should use fix critool version
Signed-off-by: Wei Fu <[email protected]>
1 parent 3f7d155 commit d9c099a

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,7 @@ jobs:
255255
with:
256256
repository: kubernetes-sigs/cri-tools
257257
path: src/github.com/kubernetes-sigs/cri-tools
258+
fetch-depth: 0
258259

259260
- name: Set env
260261
run: |
@@ -271,7 +272,9 @@ jobs:
271272
run: |
272273
set -o xtrace
273274
mingw32-make.exe binaries
275+
CRITEST_VERSION=$(cat script/setup/critools-version)
274276
cd ../../kubernetes-sigs/cri-tools
277+
git checkout "${CRITEST_VERSION}"
275278
make critest
276279
277280
- run: script/setup/install-cni-windows

0 commit comments

Comments
 (0)