diff --git a/action.yml b/action.yml index 39dd5a1..7691762 100644 --- a/action.yml +++ b/action.yml @@ -417,10 +417,7 @@ runs: REPO_URL="https://${{ inputs.gitea-domain }}/${{ github.repository }}" RUN_LINK="${REPO_URL}/actions/runs/${GITHUB_RUN_NUMBER}" - echo -ne "Generating wiki reports... \r" - sleep 1 - - echo "Generating wiki reports..." >> $LOG_FILE + echo "9 - Generating wiki reports..." TEST_FILE="run-${GITHUB_RUN_NUMBER}-TEST-commit-${SHORT_SHA}.md" COVERAGE_FILE="run-${GITHUB_RUN_NUMBER}-COVERAGE-commit-${SHORT_SHA}.md" @@ -450,6 +447,8 @@ runs: sed -n '/## Previous Runs/,$p' "${HOME_FILE}" | tail -n +2 | grep -v "^#" || true fi } > "${TEMP_CONTENT}" 2> reports.log 2>&1 || { + echo "" + echo "Generating wiki reports..." >> $LOG_FILE cat reports.log >> $LOG_FILE exit 1 } @@ -468,7 +467,7 @@ runs: mkdir -p "$OUTPUT_DIR" - echo "9 - Pushing wiki changes..." + echo "10 - Pushing wiki changes..." cd wiki