Browse Source

Continue with test on build fail

Continue with test on build fail

Pull Request resolved: https://github.com/ydb-platform/ydb/pull/521
AlexSm 1 year ago
parent
commit
03dfc91f6b
1 changed files with 4 additions and 1 deletions
  1. 4 1
      .github/actions/build_ya/action.yml

+ 4 - 1
.github/actions/build_ya/action.yml

@@ -88,7 +88,10 @@ runs:
         ./ya make -k --build "${build_type}" --force-build-depends -D'BUILD_LANGUAGES=CPP PY3 PY2 GO' -T --stat  \
           --log-file "$TMP_DIR/ya_log.txt" --evlog-file "$TMP_DIR/ya_evlog.jsonl" \
           --cache-size 512G --link-threads "${{ inputs.link_threads }}" \
-          "${extra_params[@]}"
+          "${extra_params[@]}" || (
+              RC=$?
+              echo "::debug::ya make RC=$RC"
+          )
 
     - name: sync logs to s3
       if: always()