Skip to content

Commit 2192298

Browse files
committed
[fix][deploy] Ignore errors related to the set limit setting
1 parent 65d3300 commit 2192298

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/ci_ubuntu.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ jobs:
2626

2727
- name: Set Limit
2828
run: |
29-
prlimit --pid $$ --nofile=1048576:1048576
30-
sysctl fs.inotify.max_user_instances=1280
31-
sysctl fs.inotify.max_user_watches=655360
29+
prlimit --pid $$ --nofile=1048576:1048576|| echo "Failed to set nofile limit (non-fatal)"
30+
sysctl fs.inotify.max_user_instances=1280 || true
31+
sysctl fs.inotify.max_user_watches=655360 || true
3232
- name: Clone Submodule
3333
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
3434
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type

0 commit comments

Comments
 (0)