mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-17 21:10:43 +00:00
Make docker command fail if bash command fails. (#15564)
Add `set -e` so that failing bash commands will cause the containing docker command to fail.
This commit is contained in:
parent
46210556f0
commit
4b74cb1741
1 changed files with 1 additions and 0 deletions
|
|
@ -90,6 +90,7 @@ jobs:
|
|||
-e ORT_BUILD_WITH_CACHE=1 \
|
||||
onnxruntimecpubuild \
|
||||
/bin/bash -c "
|
||||
set -e -x;
|
||||
/onnxruntime_src/tools/ci_build/github/linux/ort_minimal/build_full_ort_and_create_ort_files.sh /build/1; \
|
||||
ccache -sv; \
|
||||
ccache -z;"
|
||||
|
|
|
|||
Loading…
Reference in a new issue