diff --git a/.github/actions/build-docs/action.yml b/.github/actions/build-docs/action.yml index 5dc1feb..f61fce4 100644 --- a/.github/actions/build-docs/action.yml +++ b/.github/actions/build-docs/action.yml @@ -170,51 +170,14 @@ runs: echo "TRACE 1" # OUTPUT_DIR=`build-docs ${{ inputs.asdf-system }}` - cat > test.ros < out 2> err - - echo TTTTT 1_out - cat out - echo TTTTT 1_err - cat err - - - build-docs ${{ inputs.asdf-system }} > build-docs.out 2> build-docs.err + if [[ ! -e output.dir ]]; then + echo 'Unable to build docs' + exit 1 + fi - # echo "TRACE 1_1" - # echo ============= - # echo ${OUTPUT_DIR} - # echo ============= - - echo "TRACE 1_out" - echo ============= - cat build-docs.out - echo ============= - - echo "TRACE 1_err" - echo ============= - cat build-docs.err - echo ============= - - OUTPUT_DIR=$(cat build-docs.out) + OUTPUT_DIR=$(cat output.dir) echo "TRACE 2" echo "::set-output name=build-dir::${OUTPUT_DIR}"