not allow to upload cache when job failure
this PR is to fix issue like below:
openblas/0.3.23@milvus/dev is locked by another concurrent conan
process, wait... If not the case, quit, and do 'conan remove --locks'
Error: The operation was canceled.
Signed-off-by: Sammy Huang <sammy.huang@zilliz.com>