Skip to content

Commit c24abb6

Browse files
committed
ci: dont fail workflow when running ninja update
Sometimes, server decide to go down
1 parent 5905462 commit c24abb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/custom_steps.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_
114114
INDEPENDENT TRUE
115115
WORKING_DIRECTORY <SOURCE_DIR>
116116
COMMAND bash -c "git am --abort 2> /dev/null || true"
117-
COMMAND bash -c "git fetch --filter=tree:0 --no-recurse-submodules"
117+
COMMAND bash -c "git fetch --filter=tree:0 --no-recurse-submodules || true"
118118
COMMAND ${stamp_dir}/reset_head.sh
119119
)
120120
ExternalProject_Add_StepTargets(${_name} force-update)

0 commit comments

Comments
 (0)